0

Hi please can you help me with this cheer creator practice

I don't know what I'm doing wrong yard = int(input()) if yard > 10: print("High Five") if yard < 1: print("shh") else: print("Ra!" * yard)

24th Mar 2021, 10:59 AM
Mbre David
Mbre David - avatar
2 Réponses
+ 4
You need to use elif statement instead of if in the second condition elif yard <1: print("shh")
24th Mar 2021, 11:09 AM
Simba
Simba - avatar
+ 1
Thanks very much
24th Mar 2021, 11:15 AM
Mbre David
Mbre David - avatar