0
What is wrong with my coding lines
I wrote: x = input("Farrokh Mokri") print(x) y = input("fhghghghhf hhhghghg ghghhg") print(y) and got the result: Farrokh Mokri fhghghghhf hhhghghg ghghhg Traceback (most recent call last): File "./Playground/file0.py", line 3, in <module> y = input("fhghghghhf hhhghghg ghghhg") EOFError: EOF when reading a line Why, what is wrong?
2 Respostas
+ 3
In sololearn code playground this is a normal error you will not get the error in IDE try entering values in a correct manner.
In first line input for first statement
In second line input for second statement
+ 2
Hi Farrokh Mokri,
Run this code to understand how input works in SoloLearn 👍
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app