Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input("How many bottles to start with?\n"))
- number = num
- for i in range(num):
- if number == 1:
- print('one green bottle, hanging on the wall')
- print('one green bottle hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be no green bottles, hanging on the wall')
- elif number == 2:
- print('two green bottles, hanging on the wall')
- print('two green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be one green bottle, hanging on the wall')
- elif number == 3:
- print('three green bottles, hanging on the wall')
- print('three green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be two green bottles, hanging on the wall')
- elif number == 4:
- print('four green bottles, hanging on the wall')
- print('four green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be three green bottles, hanging on the wall')
- elif number == 5:
- print('five green bottles, hanging on the wall')
- print('five green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be four green bottles, hanging on the wall')
- elif number == 6:
- print('six green bottles, hanging on the wall')
- print('six green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be five green bottles, hanging on the wall')
- elif number == 7:
- print('seven green bottles, hanging on the wall')
- print('seven green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be six green bottles, hanging on the wall')
- elif number == 8:
- print('eight green bottles, hanging on the wall')
- print('eight green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be seven green bottles, hanging on the wall')
- elif number == 9:
- print('nine green bottles, hanging on the wall')
- print('nine green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be eight green bottles, hanging on the wall')
- elif number == 10:
- print('ten green bottles, hanging on the wall')
- print('ten green bottles hanging on the wall')
- print('and if one green bottle, should accidentally fall')
- print('there\'d be nine green bottles, hanging on the wall')
- number = number - 1
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement