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
5 Réponses
0
Yes, there are errors in your code. You need to move elif to the same level as if.
0
Yeah you need to fix your indentation of the elif like Mila said. Python is such an annoying princess like that.
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
0
And your print() is invalid.
You have: print = int(input()), but correct print is print(int(input()).