Skip to main content
added 74 characters in body
Source Link

Python, 245245 223 bytes

wall="bottlesw="bottles of beer on the wall"
[print(i,wall+'w+',',wall[0w[:15]+'.\nTake one down and pass it around,',str(i-1),wall+'w+'.\n')for i in range(99,1,-1)]
print('1 bottle',wall[8w[8:],',1 bottle',wall[8w[8:15]+'.\nGo to the store and buy some more,',99,wallw)

edit: thank you GamrCorps for the suggestion to cut down over 20 bytes!

Python, 245 bytes

wall="bottles of beer on the wall"
[print(i,wall+',',wall[0:15]+'.\nTake one down and pass it around,',str(i-1),wall+'.\n')for i in range(99,1,-1)]
print('1 bottle',wall[8:],',1 bottle',wall[8:15]+'.\nGo to the store and buy some more,',99,wall)

Python, 245 223 bytes

w="bottles of beer on the wall"
[print(i,w+',',w[:15]+'.\nTake one down and pass it around,',str(i-1),w+'.\n')for i in range(99,1,-1)]
print('1 bottle',w[8:],',1 bottle',w[8:15]+'.\nGo to the store and buy some more,',99,w)

edit: thank you GamrCorps for the suggestion to cut down over 20 bytes!

Source Link

Python, 245 bytes

wall="bottles of beer on the wall"
[print(i,wall+',',wall[0:15]+'.\nTake one down and pass it around,',str(i-1),wall+'.\n')for i in range(99,1,-1)]
print('1 bottle',wall[8:],',1 bottle',wall[8:15]+'.\nGo to the store and buy some more,',99,wall)