Natalia__krkrkr Aug 10th, 2018 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- word = "bottles"
- for beer_num in range(99,0,-1):
- print(beer_num, word, "of beer on the wall.")
- print(beer_num, word, "of beer")
- print("Take one down.")
- if beer_num == 1:
- print("No more bottels of beer on the wall.")
- new_num = beer_num-1
- if new_num == 1:
- word = "bottle"
- print(new_num, word, "of beer on the wall.")
RAW Paste Data