+ 1
Cheer creator challenge to find my error
yard = int(input()); if yard > 10 : print ("High Five") if yard == 10 : print("shh") if yard < 10 : for i in [yard]: print ("Ra!")
2 Antworten
+ 1
conditions are
1) if greater than 10
2) if less than 1
3) else or in between 1 to 10(inclusive)
check your condition for these again ..
0
Try this code...
yard = int(input())
if yard <1:
print("shh")
elif 1 < yard < 100:
print("Ra!"*yard)
elif yard > 100:
print("High Five")