Basic question. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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