+ 4

Can anybody tell me what's wrong with this code or even just why it is completely wrong?

I tried to make a simple guess the number game but it doesn't work.... Can anybody fix it? Any comment is welcome! https://code.sololearn.com/cdD58SaDYk7l/?ref=app

28th Aug 2018, 9:10 AM
Dalila
Dalila - avatar
2 ответов
+ 2
do user_input = int(input()) to convert it into an integer
28th Aug 2018, 9:32 AM
hinanawi
hinanawi - avatar
+ 4
thank you so much!!
28th Aug 2018, 9:34 AM
Dalila
Dalila - avatar