99 bottles of beer: Difference between revisions

m
→‎Python 3: removed double newlines (print by default add an endline to the end of string)
m (→‎Python 3: removed double newlines (print by default add an endline to the end of string))
Line 7,840:
{n} bottles of beer on the wall, {n} bottles of beer
Take one down and pass it around, {n_minus_1} bottles of beer on the wall.
 
'''
 
Line 7,852 ⟶ 7,851:
No more bottles of beer on the wall, no more bottles of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.
 
'''
 
Line 7,858 ⟶ 7,856:
for n in range(99, 2, -1):
print(REGULAR_VERSE.format(n=n, n_minus_1=n - 1))
 
print(ENDING_VERSES)
</lang>
63

edits