BCA.getCustomer(index).getAccount().getBalance()) ansCust = custMenu() elif ansCust == 3: print("The current amount is", BCA.getCustomer(index).getAccount().getBalance()) ansCust = custMenu() ans = menu() else: print( "You don't have an account or your index number is wrong.") ans = menu() elif ans == 3: firstName = str(input("Input first name: ")) lastName = str(input("Input last name: ")) customerDict[firstName] = [lastName, customerCounter] BCA.addCustomers(firstName, lastName) deposit = input( "Do you want to add more from the default deposit 1000? (Y/N)? " ) if deposit == 'Y': deposit = int(input("How much more? ")) BCA.getCustomer(-1).getAccount().deposit(deposit) print("The current amount is", BCA.getCustomer(-1).getAccount().getBalance()) print("Your account number is", customerCounter) customerCounter += 1 elif deposit == 'N': print("The current amount is", BCA.getCustomer(-1).getAccount().getBalance()) print("Your account number is", customerCounter) customerCounter += 1