Exemple #1
0
 def AddNewCard(self):
     NewCard = Card()
     Bank.AccAndCardsAssoc[NewCard.CardNo] = self.AccNo
     Bank.SaveFile()
     Bank.LoadFile()
Exemple #2
0
 def AddAccount(self, Name, Bal, MobileNo, AadharNo):
     NewAcc = Account(Name, Bal, MobileNo, AadharNo)
     NewCard = Card()
     Bank.AccAndCardsAssoc[NewCard.CardNo] = NewAcc.AccNo
     Bank.SaveFile()
     Bank.LoadFile()