p = 10000 # varible p assigned

n = 12 # varible n assigned

r = float( 0.08) # varible r assigned

t = float ( input ("Enter time? ")) # varible t input by user

A = p * (( 1 + r/n )**( n*t)) # formula for compound interest

print (" The compound interest is ") ,( A ) # output to user
