Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribedPlease 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

to encourage a drive for change by developing new ideas;

Answered: 1 week ago

Question

4 What are the alternatives to the competences approach?

Answered: 1 week ago