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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -