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

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -