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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -