The song “99 Bottles of Beer on the Wall” has this as its first verse:
"99 bottles of beer on the wall, 99 bottles of beer"
"Take one down and pass it around, 98 bottles of beer on the wall"
The song continues until there are 0 bottles of beer on the wall.
Write a program 99_bottles.py
that uses a loop to print out all the verses of the song. The last verse will be:
"1 bottles of beer on the wall, 1 bottles of beer"
"Take one down and pass it around, 0 bottles of beer on the wall"
As a follow-up activity, once the basic program is running, find a way to fix the last two verses so that instead of printing “1 bottles” they print the grammatically correct “1 bottle.”
You can learn more about this song at https://en.wikipedia.org/wiki/99_Bottles_of_Beer