Python script stopping before completion -
I'm not sure what I'm doing. Why does it stop after asking for outstanding balance?
x = raw_input ('Outstanding balance:'); Y = raw_input ('annual interest rate:'); Z = raw_input ('Monthly Interest Rate:'); A = (x * z) b = ((y / 12) * x) c = (a-b) d = (x-c) print ("Minimum monthly payment:" + (A)); Print ("Payment of interest:" + (B)); Print ("Principal Paid:" + (C)); Print ("remaining balance:" + (d))
Wait for user input So it will have to stop running. You can type some input and you can get hit returns to continue it.
Comments
Post a Comment