Question: # initializing overall _ total with 0 overall _ total = 0 # outer loop will run from 1 to 5 for month in range
# initializing overalltotal with
overalltotal
# outer loop will run from to
for month in range:
# initializing monthtotal with
monthtotal
# inner loop will run from to
for week in range:
# taking saving as input
saving floatinputEnter your weekly savings: $
# adding weekly saving to monthtotal
monthtotal saving
# adding monthtotal to overalltotal
overalltotal monthtotal
printTotal saved this month: $ monthtotal
printTotal saved overall: $ overalltotal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
