python - Why do I always run into EOF error? -


why run eof error simplest input. tried code , returned eof error:

var = raw_input("please enter something: ") print "you entered", var 

what doing wrong? tried in several online ide codechef , ideone , gives same eof error...

standard input empty 

on ideone, have provide input before run program.

if want run program interactively, online interpreter (repl.it that).


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -