Preview:
#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")
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter