- 1

why is it showing an EOF error while running a python code?

Please enter your first number : Please enter your operation (+ , - , *, /) : Please enter your second number : Your total = 6 --------------- Please enter your first number : Traceback (most recent call last): File "..\Playground\", line 3, in <module> num1 = int(input("Please enter your first number : ")) EOFError: EOF when reading a line

24th Mar 2018, 1:01 PM
AjiNkya
AjiNkya - avatar
2 odpowiedzi
+ 1
# please post this on code playground, check ''' why is it showing an EOF error while running a python code? Please enter your first number : Please enter your operation (+ , - , *, /) : Please enter your second number : Your total = 6 ''' num1 = int(input("Please enter your first number : "))
24th Mar 2018, 1:53 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 1
It appears that it may be having an issue with retrieving ( handler ) the raw_imput ( OR ) there may be an indention error in the code somewhere.
24th Mar 2018, 2:46 PM
BroFar
BroFar - avatar