Advertisement
Guest User

qqqqqqqqqqqqqqqqqqq

a guest
Oct 15th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. coffee = 10
  2. money = 300
  3. while money:
  4. print("돈을 받았으니 커피를 줍니다.")
  5. coffee = coffee -1
  6. print("남은 커피의 양은 %d개입니다." % coffee)
  7. if not coffee:
  8. print("커피가 다 떨어졌습니다. 판매를 중지합니다.")
  9. break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement