+ 1

What's wrong with the code? Test result 3 always fails.

yard = int(input()) a = "Ra!" if yard<=1: print("shh") elif yard>10: print("High Five") print(a*yard)

14th Sep 2020, 5:12 PM
Jit Saiba
Jit Saiba - avatar
3 Réponses
+ 2
Jit Saiba , first if clause should be yard < 1, described in the task. Change it and try again.
14th Sep 2020, 5:19 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Jit Saiba , you are welcome 🐱
14th Sep 2020, 5:23 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
TheWh¡teCat 🇧🇬 thanks bro, i got that.
14th Sep 2020, 5:23 PM
Jit Saiba
Jit Saiba - avatar