Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # bronze
- num = int(input("How many bottles to start with?\n"))
- number = num
- for i in range(num):
- print(str(number)+' green bottles, hanging on the wall')
- print(str(number)+' green bottles hanging on the wall')
- print(f'and if one green bottle, should accidentally fall')
- number = number - 1
- print('there\'d be '+str(number)+' green bottles, hanging on the wall')
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement