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 this:
Enter your name: Lin Hi Lin, you have a short name.
If the name has between 4 and 8 letters (inclusive), your program should work like this:
Enter your name: Jimmy Hi Jimmy, nice to meet you.
Otherwise, if the name has more than 8 letters, your program should work like this:
Enter your name: Yaasmeena Hi Yaasmeena, you have a long name.
Here's my attempt but it always returns "Hi XXXXXXX, you have a short name" regardless of the length.
Name = input('Enter your name: ')
if Name.count('Name') >= int(3):
print ('Hi', 'Name', ',', 'nice to meet you.')
elif Name.count('Name') <= int(3):
print ('Hi', 'Name', ',', 'you have a short name.')
elif Name.count('Name') > int(8):
print ('Hi', 'Name', ',', 'you have a long name.')