0

Basic question.

From the solutions page. I’m tackling this Cheer Creator challenge and for the life of me I can’t see what’s wrong with my code. play = int() if play <1: print("shh") elif play >10: print("High Five") else: print("Ra!" * play) Extremely basic I know. I use an input statement to plug in numbers manually and it works. When I upload it to SoloLearn it doesn’t even though I change the “play” back to an int. I’ve noticed this with a few challenges, are they glitched or am I dumb?

24th Mar 2020, 8:17 AM
Brent Larke
Brent Larke - avatar
2 ответов
+ 2
Shouldn't it be play = int( input() ) Instead of play = int()
24th Mar 2020, 8:21 AM
XXX
XXX - avatar
0
yes thank you!
24th Mar 2020, 8:22 AM
Brent Larke
Brent Larke - avatar