How do I replicate the same try/except you see for the first input in every other input?
import math
import sys
import time
while True:
try:
Money = float(input("How much are you depositing?"))
except:
print("please enter numbers")
continue
AIR = float(input("What is the annual interest rate?"))
#Annual Interest Rate
n = int(input("How many times a year do you want the interst compounded for?"))
# number of times the interst compounds
t = int(input("How many years are you investing/borrowing the money?"))
# total number of years the money is being invested/borrowed for
CCI = Money *(1+AIR/n)**(n*t)
# Calculated Compound Interest
print(math.trunc(CCI));
# main program