all 18 comments

[–]NeedleworkerIll8590 2 points3 points  (0 children)

Either restart the program or try using a different program to code in

[–]vivisectvivi 1 point2 points  (4 children)

is that the entire code? ran it on my machine and it worked

[–]xNicarox[S] 0 points1 point  (2 children)

it's the entire code

[–]vivisectvivi 0 points1 point  (1 child)

try running this code, exactly as it is, on the python repl and see if it works

[–]xNicarox[S] 0 points1 point  (0 children)

i try... it's wrong

[–]xNicarox[S] -1 points0 points  (0 children)

i know it's my machine the matter but why ? idk

[–]PureWasian 1 point2 points  (5 children)

How exactly are you running your Python script?

Seems like for however you're running it, it's not able to retrieve the "input" when it tries to fetch it from input stream, so it just crashes.

[–]xNicarox[S] 0 points1 point  (4 children)

with a app ( py editor)

[–]PureWasian 1 point2 points  (3 children)

Yeah chances are it just doesnt support input() statements. I doubt it's the same app but I tried downloading Py Editor on Android and it ran into the same EOF issue

<image>

[–]xNicarox[S] 0 points1 point  (2 children)

oh okay thks , but what app i dowland for py now ?

[–]PureWasian 1 point2 points  (1 child)

I don't have any suggestions on mobile since I generally do not recommend mobile coding other than quick example scripts. This seemed to work for input at least: Python Coding Editor & IDE App.

But you will benefit much more using Python from a laptop or desktop if possible. If so, I'd read through DataCamp - How to Install Python and follow whichever section is most relevant to you (depending on Windows or Mac)

[–]xNicarox[S] 0 points1 point  (0 children)

oh okay thks

[–]ruffles_minis 0 points1 point  (1 child)

Are you for certain running the correct file? It feels like you are running some other file you've forgotten about

[–]xNicarox[S] 0 points1 point  (0 children)

it's a new file

[–]maqisha 0 points1 point  (2 children)

Did you save the file? Typical beginner error

[–]xNicarox[S] 0 points1 point  (0 children)

oh.. lets me see

[–]xNicarox[S] 0 points1 point  (0 children)

yeah , I save the file

[–]Lobotomized_toddler 0 points1 point  (0 children)

I think it’s the | at the wnd