Skip to content

Instantly share code, notes, and snippets.

@richbs
Created April 6, 2015 19:34
Show Gist options
  • Save richbs/a61e3a36fd87ec2ac552 to your computer and use it in GitHub Desktop.
Save richbs/a61e3a36fd87ec2ac552 to your computer and use it in GitHub Desktop.
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