Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start = 5364
- days = 1
- while True:
- sleep = input()
- if sleep == "END":
- break
- if sleep == "Yes":
- days += 1
- if days == 6:
- break
- start += int(input())
- if start >= 8848:
- print(f"Goal reached for {days} days!")
- break
- if start < 8848:
- print(f"Failed!\n{start}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement