Error in trying to run Python code online -


I was trying to create a simple Python game for some struggling math students in my high school, though our computer Do not allow security problems to run python so I decided to give them the code and run them online, but to go to every site I ask that the code has an eofor and an error is an error in the code. That once attended and everything was fine. It always focuses on my raw_input () statements, can someone tell me what is going on and any solution will be greatly appreciated. It is only identity, so there is no math, just something to set the story.

  Diff Sale (): Print "" "Welcome Room!" You yourself have been thrown to jail cell "Guards have thrown you here because they are sleeping. They hit you very hard, ha ha ha." You can see that in the end your eyes will focus on the source of sound around the room. He was a person who saw that he was nothing but skin and bone. Then you saw the mark. .. It went down with his hand, it was an open wound, but was not bleeding just with black color. The man followed your eyes "Ah, so you saw, yes I have been abandoned." 1) Leave aside) Ask about quitting 3) Quickly check your body for the mark 4) Please select a scream: "" "Answer = raw_input (" & gt; ") If the answer ==" 1 "Print" you do not talk too much "'cell_name () elif answer ==" 2 ": print' 'Definitely, I know that if you have such a mark' 'print' ' They throw you in jail. "Cell_name () elif answer ==" 3 ": print '' Don 't worry I have already checked you.' 'Cell_name () Elife Answer == "4": Print' 'Hold Up! Jeez Pensy.' 'Cell_name () other: print "Select one of the numbers" cell () def cell_name (): Print "By the way your name is a child." Name = Raw_Input ("& gt;") Print "OK, OK My name is Esman. "Destroyed_cell () def destroyed_cell (): Print" "" All of a sudden you hear a thunder ... rumble ... rumble ... silence. " Do you believe that ... "Crash! The roof had fallen down one you had almost crushed, instead it had come right next to you. The force was enough to break through the floor to check you on Esman but a large piece of roof had landed on it 1) Try and stare at it. 2) Try and help him. 3) He is a dead man, please leave him. Please select one: "Answer" = raw_input (">") If answer == "1": printed "Quickly leave the child out here. "Elif's Answer ==" 2 ": Print" It's no use that you have to protect yourself "Elif Answer ==" 3 ": Print" Run! "Other: Print" Choose one of the numbers "cell ()    

I tried your code but it works

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -