0

Is there a problem on sololearn?

I can't do inputs in the playground in python:( https://sololearn.com/compiler-playground/cjl4GTuq78CI/?ref=app

24th Jul 2025, 5:01 PM
Mr. Man
Mr. Man - avatar
5 Respuestas
0
Yes, there are errors in your code. You need to move elif to the same level as if.
24th Jul 2025, 5:25 PM
Mila
Mila - avatar
0
Yeah you need to fix your indentation of the elif like Mila said. Python is such an annoying princess like that.
24th Jul 2025, 5:28 PM
The Witcher
The Witcher - avatar
0
Also, in the declaration of the correct_answer variable, you don't need to convert the number 50 to an int. It is already an integer. correct_answer = 50
24th Jul 2025, 5:28 PM
Mila
Mila - avatar
0
And your print() is invalid. You have: print = int(input()), but correct print is print(int(input()).
24th Jul 2025, 5:40 PM
Mila
Mila - avatar