Question 2
Sun Dec 18 2022 10:30:52 GMT+0000 (Coordinated Universal Time)
Saved by
@qeebza
#Question 2
balance = float(input("Enter balance: "))
withdraw = float(input("Enter withdrawal amount: "))
if balance > withdraw:
new = balance - withdraw
print("New balance = ", new)
else:
print("Withdrawal denied")
content_copyCOPY
Comments