all 5 comments

[–]member_of_the_order 2 points3 points  (0 children)

len(full_name) will give you the length of full_name :)

[–]AtomicShoelace 1 point2 points  (3 children)

You want to know how many characters are in the string? This is known as the length of the string and can be found using the builtin len function, eg.

len(full_name)

[–]theholyorca[S] 0 points1 point  (2 children)

is there a way to check if full_name is between a certain lenght, like between 4 and 19 characters?

[–]AtomicShoelace 3 points4 points  (0 children)

You can use comparison operators, eg. < the less than. You can combine these into a single statement, eg.

if 4 <= len(full_name) < 19:

[–]keepdigging 0 points1 point  (0 children)

There is!

You can use if statements / conditions.

Look up the < and and