Introduction: The Command for "if"

The command for "if" is,
"if ____ == "____":.

Step 1: Let's Get Started!!!

This is the set up code.
Copy the code:

import time

time.sleep(2.5)
print("A voice whispers into your ear.")
time.sleep(3.7)
print("Hello, chosen one!")
time.sleep(1.8)
choose = input("Do you take the challenge pick strawberry's? [yes/no]: ")

if choose == "no":
print("No?")
time.sleep(1.5)
print("DIE!!!")
time.sleep(1.7)
print("Ho no!!!")
time.sleep(1.3)
print("Your game crashed!!!")
time.sleep(1.1)
quit()

if choose == "yes":
print("That's my boy,")
time.sleep(2.1)
print("now go and pick strawberry's!!!")

Step 2: Thank You

Picture of Thank You

Thank you for:
Reading and learning,
With me!!!

If you want the next part,

Just leave a like and comment,

I will make the next part if I have 2 likes and 3 comments.

By by!!!

Comments

gholamgholy (author)2015-04-24

tnx for your good work

About This Instructable

164views

2favorites

License:

More by cswin:Mini Game!!!Python Programming P:2Python Programming P:1
Add instructable to: