Question: Please write program in anything 3 (IDLE) (CO 4 and 5) Create a program that will read in a list of payments from the user
Please write program in anything 3 (IDLE) (CO 4 and 5) Create a program that will read in a list of payments from the user and add them to a list Ask the user in between each payment if they want to continue (y). Display all of the payment entered and the total amount paid at the end Sample output: Welcome to the Payment List Program Add payment. 150.25 Do you want to continue? y or n y Add payment: 177 25 Do you want to continue? y or n. y Add payment 150.25 Do you want to continue? y or n: rn The payments were: [150.25, 177.25, 150.25] Total paid: 477.75 The program should accept decimal entries like 52.31 and 15.5 Assume the user will enter valid data The program should round the results to a maximum of two decimal places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
