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++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

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