I started learning Python since yesterday and I made a simple game using python. It counts how many characters the name has that you type in. But I keep getting wrong answers. Can anyone verify my code.My code is as follows. Thank you.
print('What is your name?')
Name = input()
print('How many alphabets does your name have?')
Char = input()
if Char == len(Name):
print('Good job')
else:
print('What?')
Aucun commentaire:
Enregistrer un commentaire