Login or register    

python 99 bottles of beer on the wall

beers = [str(i)+' bottles of beer' for i in range(99,0,-1)]

for beer in beers:
    print(beer+' on the wall,')
    print(beer+'!')
    print('take 1 down, pass it around, ...')

print('no more bottles of beer on the wall!')

Comments

Leave a comment

Please login or register to leave a comment!