0

Python seeing syntax error in non-existing line?

When I run my code, python or SoloLearn sees a syntax error in a non-existant line.

29th Feb 2020, 2:55 PM
GuitarThePun
GuitarThePun - avatar
10 odpowiedzi
29th Feb 2020, 3:13 PM
Oma Falk
Oma Falk - avatar
+ 3
It is expecting one more line. The main prob is that u have to do all required inputs at once.
29th Feb 2020, 2:59 PM
Oma Falk
Oma Falk - avatar
+ 3
you try to convert input to number so it can never be eg "add"
29th Feb 2020, 3:14 PM
Oma Falk
Oma Falk - avatar
+ 2
the try in line 56 has no except.
29th Feb 2020, 3:03 PM
Oma Falk
Oma Falk - avatar
0
https://code.sololearn.com/cM87agtcf24t/?ref=app Maybe there is too much code, but I don't know
29th Feb 2020, 2:56 PM
GuitarThePun
GuitarThePun - avatar
0
It is expecting one more line. The main prob is that u have to do all required inputs at once. Okay, thanks, but not all inputs are required, only y
29th Feb 2020, 3:01 PM
GuitarThePun
GuitarThePun - avatar
0
I just added that but now my math doesn't work, but always runs the else statement, wait, except? What does it need except on?
29th Feb 2020, 3:05 PM
GuitarThePun
GuitarThePun - avatar
0
Okay, thanks
29th Feb 2020, 3:14 PM
GuitarThePun
GuitarThePun - avatar
0
you try to convert input to number so it can never be eg "add" I just understood I was putting in the inputs wrong, I have to write like this for the Inputs to work on the math part: Math 2 Divide 2
29th Feb 2020, 3:16 PM
GuitarThePun
GuitarThePun - avatar
0
The n is for timezones on the time part of code
29th Feb 2020, 3:19 PM
GuitarThePun
GuitarThePun - avatar