0
Whats wron with this code?
trying to make a code were if any other name other than Jerry is inputted, itll continue the order, but if its equal to Jerry, it will just print 'next please.' https://www.sololearn.com/compiler-playground/c5nSXPKALz3S
1 Resposta
+ 4
https://code.sololearn.com/c5nSXPKALz3S
TRY This instead...
name= input('please tell me your name')
price= int(input('\nhow many portions of soup?'))
print(f"\n\n{name}")
if name != "Jerry":
print (f'\nThe total cost is ${int(price*5.90)}')
else:
print ('Next please!')