print("What is your name?") name = input('</_ ') #\n print("Hello, ", name) print(" \n ") print("If you answer all of the following questions correctly then you may receive your gift.") print(" \n ") print("Question 1: how far away is the son from the moon") one = input('</_ ') print(" \n ") print("how tall is the president?") print(" \n ") two = input('</_ ') print(" \n ") print("How many rolls of cookie dough can fit on the moon?") three = input('good answer... now how many people have been to space ') print(" \n ") print("correct, who was the CEO when the iPad air was released?") print("hint: it was released after 2011.") print(" \n ") four = input('</_ ') print("CHALLENGE TIME!") print(" \n ") print("ask siri to divide by zero") print(" \n ") five = input('Press Enter To Continue ') print(" \n ") print("Go to google and search google in 1998") print(" \n ") six = input('Press enter to continue ') print(" \n ") print("CONGRATULATIONS", name, "YOU MAY NOW OPEN YOUR GIFT")
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