
Day 1 you save 1, day 2 you save 2, day 3 you save 3, and so on. Write days_to_save(goal) to return the day the savings first reach at least goal.
days_to_save(10)→4days_to_save(11)→5def days_to_save(goal):
saved = 0
day = 0
while saved < goal:
# your code here: one more day, save that day's money
pass
return day
Run tries the examples. When they look right, Submit.