ICTPRG302CodingHomework/bankBalance.py

17 lines
464 B
Python
Raw Permalink Normal View History

2023-09-17 06:57:46 +00:00
# Copyright 2022, Rayyan Hodges, TAFE NSW
# rayyan.hodges@studytafensw.edu.au
#Obtain bank and savings balance from user
checkingbal=int(input("Please enter your checking balance: "))
savingsbal=int(input("Please enter your savings balance: "))
#Checking if users checking balance is low
if checkingbal <50:
print("Checking account balance is low")
#Checking if users savings balance is low
if savingsbal <100:
print("Savings account balance is low")