# Introduction to Programming
# Author: Reisha Puranik
# Date: November 19, 2019

class BankAccount:
    def __init__(self, pin):
        self.pin == "pin"
        self.balance = 0
    def deposit(self, pin, amount):
        if self.pin == "pin":
            self.balance += amount
            return self.balance
        else:
            print("Invalid")
    def withdraw(self, pin, amount):
        if self.pin == "pin":
            self.balance > money
            self.balance -= money
            return amount
    def get_balance(self, pin):
        if self.pin == "pin":
            return self.balance
    def change_pin(self, oldpin, newpin):
        if oldpin == self.pin:
            self.pin = newpin
            
