- 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
10 Antworten
+ 3
Enter the values this way
Name
Age
+ 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.
+ 3
What you are entering will matter .
You should enter your both values same time in different lines for ex-
Ayush
16
+ 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
+ 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.
0
a = input("name :")
print(a)
b = input("age :")
print(b)
0
I m getting error message while running
0
how
0
Pls explain detail
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