Unverified Commit 3373283f authored by Peter Kessler's avatar Peter Kessler Committed by GitHub

Add files via upload

parent 1fff7f80
for beers in range(5, 0, -1):
print(beers, "bottle(s) of beer on the wall,", beers, "bottle(s) of beer,")
print("Take one down, pass it around,", beers-1, "bottle(s) of beer on the wall. \n")
print("0 bottles of beer on the wall, 0 bottles of beer,")
print("Go to the store, buy some more, 99 bottles of beer on the wall.")
for beers in range(99, 0, -1):
if beers == 1:
print(beers, "bottle of beer on the wall, ", beers, " bottle of beer,")
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
elif beers == 2:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Take one down, pass it around, ", beers-1, "bottle of beer on the wall. \n")
else:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
print(beers-1, "bottles of beer on the wall, ", beers-1, " bottles of beer,")
print("Go to the store, buy some more, 99 bottles of beer on the wall.")
for beers in range(99, 0, -1):
if beers == 1:
print(beers, "bottle of beer on the wall, ", beers, " bottle of beer,")
else:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
if beers == 2:
print("Take one down, pass it around, ", beers-1, "bottle of beer on the wall. \n")
else:
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
print(beers-1, "bottles of beer on the wall, ", beers-1, " bottles of beer,")
print("Go to the store, buy some more, 99 bottles of beer on the wall.")
beers = 99
while beers > 0:
if beers == 1:
print(beers, "bottle of beer on the wall, ", beers, " bottle of beer,")
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
elif beers == 2:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Take one down, pass it around, ", beers-1, "bottle of beer on the wall. \n")
else:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
beers = beers-1
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Go to the store, buy some more, 99 bottles of beer on the wall.")
beers = 99
while beers > 0:
if beers == 1:
print(beers, "bottle of beer on the wall, ", beers, " bottle of beer,")
else:
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
if beers == 2:
print("Take one down, pass it around, ", beers-1, "bottle of beer on the wall. \n")
else:
print("Take one down, pass it around, ", beers-1, "bottles of beer on the wall. \n")
beers = beers-1
print(beers, "bottles of beer on the wall, ", beers, " bottles of beer,")
print("Go to the store, buy some more, 99 bottles of beer on the wall.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment