class BankAccount: def __init__(self, name, account_type): self.name = name self.accountType = account_type self.balance = 0 def withdraw(self, amount): self.balance -= amount def deposit(self, amount): self.balance += amount # Create two different objects from the class Object1 = BankAccount('John','Savings') Object2 = BankAccount('Ken','Checking') # Print an object attribute print(Object1.name) # John print(Object2.acount_type) # Checking # Call an object method Object1.withdraw(300) Object2.deposit(5)