0

What's wrong with it? Please help me..

x=int(input('complete:7+8=...?')) if( x == 15): print('right') if(x !=15): print('wrong') print('you have one more chance:') x=int(input('second chance:') if(x == 15): print('finally,congrats!....') if(x!=15): print('go to school for learn maths')

6th Aug 2018, 3:17 PM
Praveen Neevarp
Praveen Neevarp - avatar
1 Answer
+ 2
You forgot a closing ) at the second input... x = int(input("second chance:"))
6th Aug 2018, 3:24 PM
TurtleShell
TurtleShell - avatar