
Python thing
By: a guest on
Sep 5th, 2012 | syntax:
Python | size: 0.45 KB | hits: 24 | expires: Never
def start():
print "Hello get ready!"
name = raw_input ("What's your name:")
print "Welcome, "+name+"!"
print "The objective of this game is to collect cookies."
print "After collecting the cookies you eat them."
choice = raw_input("Do you want to play Yes/No?")
if choice == "Yes":
begin()
if choice == "No":
print "Okay, bye!"
def begin():
global cookies
print "Let's do this!"