#####Question 1 and intro##### print "Hey and welcome to the first Scott Dominic Random Quiz!" points = 0 print raw_input("Press Enter to continue...") print "So, Easy, Medium, or Hard?" dflvl = raw_input("Type E for easy, M for Medium or H for Hard Mode") if dflvl == "E": print "Wrong! :D" print "Points:" + str(points) print "____________" points = points - 1 print "NEW! Points:" + str(points) print "____________" elif dflvl == "M": print "Correct! <3" print "Points:" + str(points) print "____________" points = points + 1 print "NEW! Points:" + str(points) print "____________" elif dflvl == "H": print "Haha You LOSE!.. Well... You will lol" print "Points:" + str(points) print "____________" points = points print "NEW! Points:" + str(points) print "____________" elif dflvl == "e": print "Wrong! :D" print "Points:" + str(points) print "____________" points = points - 1 print "NEW! Points:" + str(points) print "____________" elif dflvl == "m": print "Correct! <3" print "Points:" + str(points) print "____________" points = points + 1 print "NEW! Points:" + str(points) print "____________" elif dflvl == "h": print "Haha You LOSE!.. Well... You will lol" print "Points:" + str(points) print "____________" points = points print "NEW! Points:" + str(points) print "____________" else: print "You cheat... I like that in a person hehe" print "Points:" + str(points) print "____________" points = points + 2 print "NEW! Points:" + str(points) print "____________" ###End of question 1 and intro### #s #c #o #t #t #####Start question 2##### print "Welcome to question 2!" print raw_input("Press Space to continue...")
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