Question: what is the error in this code Debug Stop 4 Run Share Save {} Beautify Language Python 3 main.py Download Code 1 print('WELCOME TO LOAN
what is the error in this code 
Debug Stop 4 Run Share Save {} Beautify Language Python 3 main.py Download Code 1 print('WELCOME TO LOAN PAYMENT CALCULATOR') 2 mortgagePrincipal=eval(input('Enter the principal value (RM): ')) 3 monthlyInterest=eval(input('Enter the interest rate in % : ')) period=eval(input('Enter the period of loan in year: ')) 5 P=mortgagePrincipal 6 I=monthlyInterest/1200 #divided by 100 for decimal and 12 for monthly payment per year 7 N=period*12 #year times 12 monthly payment 8 print("You want to borrow RM {} over {} years with an interest rate of {} %!").format(mortgagePrincipal, period, monthlyInter monthlyPayment=sum=int(P((I*(1+1)**N)/((1+1)**N) -1) #formula to get monthly payment 10 print("The monthly payment is RM %3.2f"%monthlyPayment) 11 print("Press any key to continue...") 9 input print ("The monthly payment is RM $3.2f"&monthlyPayment) SyntaxError: invalid syntax ... Program finished with exit code 1 Press ENTER to exit console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
