+ 1

Why i have python error?

i'm so bad in english, and... haven't internet ;( please, say me: What is wrong with syntax? i can't see it. code: int_first = input('your height?') int_second = int((int_first - 100) *1.25 print(int_second) p.s_ error line is first.

25th Apr 2018, 3:23 PM
Климов Данил
Климов Данил - avatar
3 Antworten
+ 1
Didn’t close the bracket of the int function at line 2: int_second = int((first_int-100)*1.25)
25th Apr 2018, 3:26 PM
TurtleShell
TurtleShell - avatar
+ 1
?, this is a first code... now i so stupid ;D
25th Apr 2018, 3:29 PM
Климов Данил
Климов Данил - avatar
+ 1
this is right. int_first = int(input('your height?'))
25th Apr 2018, 3:58 PM
Maninder $ingh
Maninder $ingh - avatar