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

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

c++ - llvm function pass ReplaceInstWithInst malloc -

python - IO.UnsupportedOperation: Not Writable -