Created
April 6, 2015 19:34
-
-
Save richbs/a61e3a36fd87ec2ac552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_integer = 2 | |
my_float = 3.6 | |
my_result= my_integer * my_float | |
#print my_result | |
my_string = "Hello World" | |
my_string = my_string + "\n" | |
#print my_string | |
hundred=100 | |
#print my_string * hundred | |
countdown = 100 | |
while countdown > 0: | |
#print my_string | |
#print countdown | |
countdown = countdown - 1 | |
vehicles = ["Scorpion", "Falcon", "Warthog", "Mongoose"] | |
for vehicle in vehicles: | |
print vehicle | |
if vehicle == "Mongoose": | |
print ("speed away") | |
else: | |
print "boom" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment