Example #1
0
def savings_open():
    global acct_number1
    name, opendeposit = input('Enter name : '), int(
        input('How much would like to deposit : '))
    name = Customer(name)
    name.open_saving(acct_number1, opendeposit)
    name.get_deposits()
    acct_number1 += 1
    return name
Example #2
0
from code1 import Account,Checking,Business,Customer,Savings

bob=Customer('bob',1)
bob.open_checking(1,500)

bob.open_saving(2,50)
bob.open_business(3,2500)
bob.get_deposits()

bob.make_deposit('B',4,500)
bob.get_deposits()