+ 1

Cheer creator test 3 failed

yard = int(input()) if yard > 10: print("High Five") if yard < 1: print("shh") for i in range(yard): print("Ra!")

8th May 2022, 7:48 PM
Culebra Dominguez
2 Réponses
+ 4
print("Ra") Prints in separate lines but you need it in same line Try print("Ra!", end="") but this should 3rd constraint. you have only 2.. Culebra Dominguez and use if-else structure.. for 3 cases... check the output difference in playground.. with/without changes.... hope it helps..
8th May 2022, 7:58 PM
Jayakrishna 🇮🇳
+ 4
# use if-else structure.. else: print("Ra!"*yard)
8th May 2022, 11:55 PM
SoloProg
SoloProg - avatar