Cheer creator exercise help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Cheer creator exercise help

I dont complete the exercise plis cheek yards = int(input()) if yards >10: print("high five") elif yards <1: print ("shh") else: print("Ra!" * yards )

9th Feb 2020, 5:39 AM
Diego Rangel
Diego Rangel - avatar
3 Answers
+ 2
Diego Rangel the first is 10 yards or more think hard.... but not to hard and the same symbol for the sec is 1 yard or less what symbol is it... >= <= think
9th Feb 2020, 5:49 AM
BroFar
BroFar - avatar
+ 2
Coder's Crux look at my answer and see if you understand what he did wrong - but let's see if he figures it out
9th Feb 2020, 5:53 AM
BroFar
BroFar - avatar
0
When you use print, it automatically adds a new line. On Ra!, instead use: print("Ra!" * yards, end="")
9th Feb 2020, 5:45 AM
coddy
coddy - avatar