Exemplo n.º 1
0
 def new_account(self, usertype):
     if usertype == '1':
         self.account = Account.ShopkeeperAccount()
     elif usertype == '2':
         self.account = Account.CustomerAccount()
     elif usertype == '3':
         self.account = Account.SupplierAccount()