Mastercard
March 16, 2018
Interest rates are high on credit cards. Use the script below to calculate what you are paying on an APR of 1.45%.
# -*- coding: utf-8 -*-
def percentage(balance, divide, interest):
return balance / divide * interest
balance = (float(raw_input("\nEnter Balance: ")))
new_total = percentage(balance, 100, 1.45)
print "\nOn a balance of £{0:.2f} there is £{1:.2f} in interest.\n".format (balance, new_total)
Recent Entries
- Entropy November 13, 2025
- The Unquiet Past November 12, 2025
- King Sorrow October 22, 2025