daily pastebin goal


Natalia__krkrkr Aug 10th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. word = "bottles"
  2. for beer_num in range(99,0,-1):
  3.     print(beer_num, word, "of beer on the wall.")
  4.     print(beer_num, word, "of beer")
  5.     print("Take one down.")
  6.     if beer_num == 1:
  7.         print("No more bottels of beer on the wall.")
  8.     else:
  9.         new_num = beer_num-1
  10.         if new_num == 1:
  11.             word = "bottle"
  12.         print(new_num, word, "of beer on the wall.")
  13.     print()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand