- 1

What’s this error

name :siraj age : Traceback (most recent call last): File "./Playground/file0.py", line 5, in <module> t = input ("age :") EOFError: EOF when reading a line

27th Apr 2020, 1:38 PM
Siraj Thalassery
Siraj Thalassery - avatar
10 odpowiedzi
+ 3
Enter the values this way Name Age
27th Apr 2020, 1:54 PM
Abhay
Abhay - avatar
+ 3
Hay bro let me tell you that in this app playground is not interactive . So you need to enter all values in different lines as it is already told by Abhay bro . Ok or else use some other apps such as pydroid3.
27th Apr 2020, 1:58 PM
Ayush Kumar
Ayush Kumar - avatar
+ 3
What you are entering will matter . You should enter your both values same time in different lines for ex- Ayush 16
27th Apr 2020, 2:01 PM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Also it occurs when you don't provide all the input values Here all the inputs are accepted for first time only and they should be entered as I mentioned earlier first input second input and so on
27th Apr 2020, 1:55 PM
Abhay
Abhay - avatar
+ 1
EOF stands for End Of File.  This means that there is any parenthesis in your code whose opening and closing is not matching or they are not in order as expected. Share your source code so we can fix it.
27th Apr 2020, 1:45 PM
Ayush Kumar
Ayush Kumar - avatar
0
a = input("name :") print(a) b = input("age :") print(b)
27th Apr 2020, 1:52 PM
Siraj Thalassery
Siraj Thalassery - avatar
0
I m getting error message while running
27th Apr 2020, 1:53 PM
Siraj Thalassery
Siraj Thalassery - avatar
0
how
27th Apr 2020, 1:56 PM
Siraj Thalassery
Siraj Thalassery - avatar
0
Pls explain detail
27th Apr 2020, 1:56 PM
Siraj Thalassery
Siraj Thalassery - avatar
0
a = input("name :") print(a) b = input("age :") print(b) this is my code input I m getting output as flws :- name :siraj age : Traceback (most recent call last): File "./Playground/file0.py", line 5, in <module> t = input ("age :") EOFError: EOF when reading a line why
27th Apr 2020, 1:59 PM
Siraj Thalassery
Siraj Thalassery - avatar