@AyushMalhotra/

Banking assistant

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name=input ("Hello, I am Novak your financial assistant! Let me get to know you. What is your name?")
age = input ("Cool " + name + "! How old are you?")
choice2 = input("Type A for saving tips and B for a custom financial plan!")
if choice2 == ("B"):
    item=input("Okay " + name + "! I am ready to help you reach your goal! What is it that you are saving for?")
    happy = False
    while happy == False:
        goal=input ("I am here to make sure you get that brand new " + item + "! But first " + name + " I need to know your realistic goal on the number of weeks you want to save up for a " + item +"?")
        need= input("Thats great! How much money do you need to purchase a " + item + "?")

        print ("You need to make")
        print (int(need)/int(goal))
        print ("dollars a week to reach your goal " + name + "!")
        choice1= input("Are you happy with the amount you need to make weekly to reach your goal")
        if choice1 == ("yes"):
            print(" Thats great " + name + "! Your financial plan for a " + item + " is complete! Full rights to use me as your full time financial manager cost $10!")
            happy = True
        elif choice1 == ("no"):
            print (" Dont worry" + name + ". Many who are not satisfied with the value often find that they want to extend the number of weeks they need or lower the price.")
else:
    print (" Hi! It's Novak again! I hear youre looking for some saving tips! I find that for those who are near the age of " + age + " can save on anything from clothes to food! Here are some I think will work for you " + name + "! 1. Save on clothes, dont always go for branded clothes. 2. Save on food! cooking at home is healthier and cheaper than fine dining. 3. Vacations. Do you think that what you are saving for is more important than a vacation? If so, you might want to hold back on that trip.")