Raw Input If Statements Python [duplicate]
问题 This question already has answers here : How can I read inputs as numbers? (10 answers) Closed last year . I am having trouble with if statements in python. I am making a "game" entirely in dolan speak, excuse the spelling, it meant to be humorous manner. Sorry. Here is the code: import time def menu(): print ("dogz r a supar hahrd tin 2 matsr it tak yrs 2 mastr ut u nw git 2 exprince it. pik a tin 2 du:\n") menu = raw_input("1.)Ply Da Dogi gam\n2.)Halp\n") if menu == 1: game() if menu == 2: