I am trying to make a simple banking program with check balance, withdraw, deposit, and exit options. It is endlessly looping. I am just currently trying to be able to input a βchoiceβ value of 1-4.
βββββββββββββββ-ββββββββββββ
Python Banking Program
def show_balance():
pass
def deposit():
pass
def withdraw():
pass
balance = 0
is_running = True
while is_running:
print("Banking Program")
print("1. Check Balance")
print("2. Deposit")
print("3. Withdrawal")
print("4. Exit")
choice = input("Enter your choice (1-4)")
if choice == "1":
show_balance()
elif choice == "2":
deposit()
elif choice == "3":
withdraw()
elif choice == "4":
is_running = False
else:
print("Your choice is not valid.")