Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please make a money storage program with the following conditions: 1. The progra

ID: 3583597 • Letter: P

Question

Please make a money storage program with the following conditions: 1. The program begins by asking for some iRRuti Amount of money user has, with input minimal 100.000 dan maximal 3.000.000. Duration user can store money is between 1 until 10 years 2. Then show menu of each year with the display as follow Amount of money that user has. Amount of money that user stores. Menu 1 for storing money. Menu 2 for continue next year. Menu 3 for exiting. 3. If user choose menu "1", then Request input from the user to add money into his/her storage. Validate input between 1 and amount of money user has. Money that user has will decrease appropriate amount of money user store. If money of user is exhausted then duration of storage is over and exit from iteration. 4. If user choose menu "2", then continue to next year without storing moneyin that year. 5. If user choose menu "3", then duration of money storing is over and exit from iteration 6. After duration of money storing is over then show Duration of user stores money. Bonus with calculation of 10% from duration of user stores money multiplied by storage money. Total of user's money with calculation of users residual money plus storage money and bonus Please run the EXE file to see the sample program. Print Screen of the Beginning of the Program and Main Menu Binus Online Money Storage Input the amount of money you have C100000..3000000] 1000000 Input duration you will store C1 10] 3 Years 1 Amount of money you have 1000000 Amount of store you have 0 Print Screen of Menu 1 "Store" Men 1 Store 2- Continue to next year Exit Choice Input amount of money you want to store C1 10000001 200000 2 Years Amount of money you have 803000 Amount of store you have 200000

Explanation / Answer

money.py

def main():
money=int(input("Input the amount of money you have[100000....3000000]:"))
duration=int(input("Input duration you will store [1..10] :"))

store=0
for x in range(duration):
print "Menu"
print "1.store 2.continue to next year 3.Exit"
ch=int(input("Choice:"))
if(ch==1):
print "year:",x+1
store=int(input("Input the amount of money you want to store[1....1000000]:"))
elif(ch==2):
print "year:",x+1
print"Amount of money you have:",str(money-store)
print "Amount of store you have:",str(store)
elif(ch==3):
break
else:
print "Incorrect option"
print "You have store for "+str(duration)+" year/years"
print "Thank You"
main()

Steps to convert into exe:

download py2exe

install that exe

from distutils.core import setup
import py2exe
setup(console=['money.py'])

type the above code

"money.py"is the name of the python file you want to convert into exe

save this file as setup.py

open command prompt and move to python directory

type the command setup.py py2exe

you will find the folder dist which will be containing the exe file