Write a program that checks how long a name is. The program should take a name as input from the user.
If the name has 3 or fewer letters, your program should work like
You should use len(name) and you don't need int(3) as 3 is already an integer. Your check should look like this:
len(name)
int(3)
3
name = input('Enter your name: ') if len(name) >= 3: # do stuff
I changed Name to name as this is the standard convention of variable naming in Python.
Name
name