+ 1

can anyone help me what is wrong with my code

why it is showing me some error on line 42 https://code.sololearn.com/czq3Qi08AUv7/#py PLEASE CLICK ON THIS LINK ABOVE TO SEE MY CODE #Traceback (most recent call last): File "./Playground/file0.py", line 42, in <module> _focal_length=int(input()) EOFError: EOF when reading a line please someone help me

15th Aug 2020, 4:25 PM
Tayyib
Tayyib - avatar
1 Resposta
0
Tayyib The code is working fine. EOFError pops up when you don't enter an input be it integer or string that the program needs If you enter something like: Tom Code 6 It works ok. But if seems you omitted the integer input so you get an error.
15th Aug 2020, 5:33 PM
Tomiwa Joseph
Tomiwa Joseph - avatar