What it does
Budget Wizard helps the user figure out how much to save and how much to spend according to their salary and the 20:30:50 rule.
How we built it
Using just python and by following the budgeting guides.
Code
import sys
salary=float(input("Input your yearly income!"))
typeOfBudgeting=int(input("Input 1 for yearly budget breakdown,2 for a monthly budget breakdown or 3 for a weekly budget breakdown."))
if typeOfBudgeting==1:
salBreakdown=salary
typeOfBreakdown="Yearly"
elif typeOfBudgeting==2:
salBreakdown=salary/12
typeOfBreakdown="Monthly"
elif typeOfBudgeting==3:
salBreakdown=salary/52
typeOfBreakdown="Weekly"
savings=salBreakdown*0.2
rent=salBreakdown*0.3
fluidMoney=salBreakdown*0.5
print("You should spend ",fluidMoney," maximum on neccessary expenditures and other miscellaneous expenses",typeOfBreakdown,".")
print("You should spend ",rent," maximum on rent/ debt on Property",typeOfBreakdown,".")
print("You should save ",savings," minimum ",typeOfBreakdown,".")
Log in or sign up for Devpost to join the conversation.