ui =(input("enter a number from 1 to 10")) ui2=int(ui) print("") print("") if (4) == ui2: print("You win (you have so much wisdom your hair must be gray)") elif (3)==ui2: print("okay") elif (5)==ui2: print("okay") elif (6)==ui2: print("bad") elif (10)==ui2: print("jamie thinks that you are trash") elif (1)==ui2: print("your mental age is 1 (but you look about 80)") elif (2)==ui2: print(" a number 2 is my favourite thing to do on the loo" ) elif (7)==ui2: print("your a lucky litle shit") elif (8)==ui2: print("if you turn it on its side it will give you your age") elif (9)==ui2: print("this number reminds me of the number 11")
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question