+ 1

Need help with the Cheer Creator - python

Hey, case 5 is always not working. This ist my Code. Can you Help me to find the mistake? yards=int(input()) if yards>10: print ('High Five') elif yards==0: print ('shh') else: print('Ra!'* int(yards))

27th May 2023, 12:38 AM
Laura
3 Respostas
+ 5
Laura your second condition is wrong please carefully read the task in second condition when 'shh' is print (yards<1)
27th May 2023, 1:26 AM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 2
you haven't written the case of less than 10 i guess
27th May 2023, 6:12 AM
Kishlay
Kishlay - avatar
+ 1
Thank you!
27th May 2023, 8:50 AM
Laura