Having problem getting a user input in my git bash

Hi, I wrote my first OOP python project. It took some time, but I’m mostly finished.
And when I’m trying to execute my code in the Codecademy editor. It works.
But when I’m doing the same good in the Git bash, It only asks the first input and then stops. When I’m trying to close it, it says that the process is running a session. Not sure if the problem is the code or the way I’m using my git bash.
this is the code:

class Bank():
    all = {}
    def __init__(self):
        quiet = []
        while len(quiet ) < 3:
            self.name = input("Welcome to EnvBa! Whats is your name:")
            quiet.append(self.name)
            self.age = input("Welcome " + self.name +"! What is your age?")
            quiet.append(self.age)
            self.gender = input("Perfect. What is your gender?")
            quiet.append(self.gender)

        #self.name = input("Welcome to EnvBa! /nWhats is your name:")
        #self.age = input("Welcome " + self.name +"! What is your age?")
        #self.gender = input("Perfect. What is your gender?")
        self.balance = 0

    def show_details(self):
        print("Personal Details")
        print("")
        print("Name: ", self.name)
        print("Age: ", self.age)
        print("Gender: ", self.gender)


    def deposit(self):

        self.ammount = input("Ok " + self.name + ", How much money do you want to deposit:")
        self.ammount = float(self.ammount)
        self.balance = self.balance + self.ammount
        print("Account balance has been  updated : $", self.balance)

    def withdraw(self, ammount):

        self.ammount = ammount
        if self.ammount > self.balance:

            print("Insufficient funds | Balance Avilable : $", self.balance)
        else:

            self.balance = self.balance - self.ammount
            print("Account balance has been updated : $", self.balance)

    def view_balance(self):
        self.show_details()
        print("Account balance : $", self.balance)

class Envelope(Bank):
  def __init__(self):
    super().__init__()

    self.env_balance = 0

  def envelope_deposit(self, envelope, env_deposit):
    self.envelope = envelope
    self.env_deposit = env_deposit

#Adding to dictionry "all"
    Bank.all[envelope] = env_deposit

#Envelope creation setup. Checking that the envelopes deposit not bigger than
#avilable ammount.
    if self.env_deposit > self.balance:
      print("Envelope couldn't recive the fund. Insufficient funds | Balance Avilable : $", self.balance)

    else:
      self.env_balance = self.env_deposit
      print("You created an envelope name: " +  self.envelope, ".", "Your envelope contain: $" + str(self.env_balance))
      self.balance = self.balance - self.env_deposit
    print("Your account balance is now: $" + str(self.balance), "And $" + str(self.env_balance), " In the " + self.envelope, " envelope")

  def __repr__(self):
      return f"Envelope: {self.envelope}, {self.env_deposit}"


# Function to transfer money from one envelope to the other

  def env_transfer (self, from_env, ammount, to_env):

     if from_env in Bank.all and to_env in Bank.all:
        if Bank.all[from_env] < ammount:
            print("Insufficient funds | Balance Avilable : $" + str(Bank.all[from_env]))


        else:
            Bank.all[from_env] = User.all[from_env] - ammount
            Bank.all[to_env] = User.all[to_env] + ammount
            print(from_env + " New ammount: " + str(Bank.all[from_env]) + " " + to_env + " New ammount: " + str(Bank.all[to_env]))

     elif from_env == "Main Balance":
         if self.balance < ammount:
             print("Insufficient funds | Balance Avilable : $" + str(self.balance))
         else:
             self.balance = self.balance - ammount
             Bank.all[to_env] = Bank.all[to_env] + ammount
             print(from_env + " New ammount: " + str(self.balance) + " " + to_env + " New ammount: " + str(Bank.all[to_env]))

     elif from_env not in Bank.all and to_env in Bank.all:
        print("The envelope: " + from_env + " is not created.")
     elif from_env in Bank.all and to_env not in Bank.all:
        print("The envelope: " + to_env + " is not created.")
     else:
         print("Envelopes " + from_env + " and " + to_env + " are not created")

class Buy(Envelope):
    buying_code = {
    "Qwg24" : ["Trader Joe's","Shop Rite", "Walmart"],
    "Qwb45" : ["SEG", "UI"],
    "Qws88" : ["Amazon", "Nike", "Ralph Luren"],
    "Qwt95" : ["Uber", "Lyft", "Southwest", "American Airlines"]
    }
    def __init__(self):
      super().__init__()

    def buying_system(self, store, price):
        check_list = []

        self.store = store
        self.price = price


        for key, value in Buy.buying_code.items():
            if self.store in value:
                check_list.append(key)

                if "Qwg24" in check_list:
                    print("You're buying groceries")
                    if Bank.all["Groceries"] < self.price:
                        print("Insufficient funds | Avilable Balance: $" + str(Bank.all["Groceries"]))
                    else:
                        Bank.all["Groceries"] = int(Bank.all["Groceries"] - self.price)
                        print("You're reminded balance in Groceries is :$" + str(Bank.all["Groceries"]))
                    #Bank.all["Groceries"] = int(Bank.all["Groceries"]) - self.price
                    #print(Bank.all["Groceries"])

                elif "Qwb45" in check_list:
                    print("You're paying bills")
                    if Bank.all["Bills"] < self.price:
                        print("Insufficient funds | Avilable Balance: $" + str(Bank.all["Billss"]))
                    else:
                        Bank.all["Bills"] = int(Bank.all["Bills"] - self.price)
                        print("You're reminded balance in Bills is :$" + str(Bank.all["Bills"]))
                    #Bank.all["Bills"] = int(Bank.all["Bills"]) - self.price
                    #print(Bank.all["Bills"])

                elif "Qws88" in check_list:
                    print("You're doing shopping!")
                    if Bank.all["Shopping"] < self.price:
                        print("Insufficient funds | Avilable Balance: $" + str(Bank.all["Shopping"]))
                    else:
                        Bank.all["Shopping"] = int(Bank.all["Shopping"] - self.price)
                        print("You're reminded balance in Shopping is :$" + str(Bank.all["Shopping"]))

                elif "Qwt95" in check_list:
                    print("You're going to travel!")
                    if Bank.all["Travel"] < self.price:
                        print("Insufficient funds | Avilable Balance: $" + str(Bank.all["Travel"]))
                    else:
                        Bank.all["Travel"] = int(Bank.all["Travel"] - self.price)
                        print("You're reminded balance in Travel is :$" + str(Bank.all["Travel"]))


        if not check_list:
            print("Unrecognized catagory. withdrawing from main balance")
            if self.balance < self.price:
                print("Insufficient funds | Avilable Balance: $" + str(self.balance))
            else:
                self.balance = int(self.balance) - self.price
                print("You're reminded balnace in your main balance is :" + str(self.balance))




b = Buy()
b.deposit()
b.show_details()
env1 = float(input("How much money do you want to deposit to the groceries envelope? "))
env2 = float(input("How much money do you want to deposit to the bills envelope? "))
env3 = float(input("How much money do you want to deposit to the shopping envelope? "))
env4 = float(input("How much money do you want to deposit to the travel envelope? "))
b.envelope_deposit("Groceries", env1)
b.envelope_deposit("Bills", env2)
b.envelope_deposit("Shopping", env3)
b.envelope_deposit("Travel", env4)
store = input("What store are you buying from : ")
price = float(input("How much did you paid : "))
b.buying_system(store, price)
active = True
while active == True:
  finish = input("Anything else that you want to buy? (y/n) ")
  if finish == "y":
    store = input("What store are you buying from : ")
    price = float(input("How much did you paid : "))
    b.buying_system(store, price)
  
  else:
    print("Ok, see you next time!")
    active = False