
def calculateFine(self):
amount = 300
difference = 5
time = difference - 1
firstmnth = (0.1 * amount) + amount
print(firstmnth)
secnmnth = (0.1 * amount) + amount + firstmnth
print(secnmnth)
totalamt = secnmnth + amount
print("Amount Payable for {} months is:{}".format(difference, totalamt))

amt = input(print("Enter amount per month to be taken: "))
time = input(print(""))








