Need help with the Cheer Creator - python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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
Sakshi - 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