+ 1
Elif prints else?
If i put Sai, it prints out ... but if i put Kakashi, it prints Blop Why doesnt it print out Blup? Am i missing out some code, or putting something wrong? name = input('Whats your name? ') if input == 'Sai': print('Blup') elif name == 'Kakashi': print('Blop') else: print('...')
2 Réponses
+ 2
Check out the first line. You are checking the variable input, not the variable 'name'
Change it to if name == 'Sai':
0
thank yuu!