for bottles in range(99, -1, -1): if bottles > 1: print bottles, " bottles of beer on the wall,", bottles, "bottles of beer!" print "Take one down, pass it around, there's", bottles - 1, "bottles of beer on the wall!" elif bottles == 1: print bottles, " bottle of beer on the wall,", bottles, "bottle of beer!" print "Take it down, pass it around, there's no more bottles of beer on the wall!" elif bottles == 0: print "No more bottles of beer on the wall, no more bottles of beer!" print "Go to the store and buy some more, there'll be 99 bottles of beer on the wall!" bottles = bottles - 1