2) book_list.py: download lab4starter_book_list.py from D2L resources. The program summarizes costs of a book list. It uses all of our standard mipo_ex features.* The starter file collects book prices into a list, and totals, averages & displays the info. The revised program has to add a feature to llect the book title llel liet for Enter the cost of book #1, to the nearest dollar: Please enter a whole number: 25 Enter the cost of book #2, to the nearest dollar: Please enter a whole number: 35 Enter the cost of book #3, to the nearest dollar: Please enter a whole number: 45 Info on 3 Books Needed Book # 1 2 Price 25.00 35.00 45.00 S Total $ 105.00 $ 35.00 Average Need more books? Enter y or n: | 3 $ $ Starter results ↑ Lab results ↓
2) book_list.py: download lab4starter_book_list.py from D2L resources. The program summarizes costs of a book list. It uses all of our standard mipo_ex features.* The starter file collects book prices into a list, and totals, averages & displays the info. The revised program has to add a feature to llect the book title llel liet for Enter the cost of book #1, to the nearest dollar: Please enter a whole number: 25 Enter the cost of book #2, to the nearest dollar: Please enter a whole number: 35 Enter the cost of book #3, to the nearest dollar: Please enter a whole number: 45 Info on 3 Books Needed Book # 1 2 Price 25.00 35.00 45.00 S Total $ 105.00 $ 35.00 Average Need more books? Enter y or n: | 3 $ $ Starter results ↑ Lab results ↓
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:LAB, CONT.
2) book_list.py: download
lab4starter_book_list.py from D2L
resources. The program summarizes costs of
a book list. It uses all of our standard
mipo_ex features.*
●
The starter file collects book prices into a
list, and totals, averages & displays the info.
The revised program has to add a feature to
collect the book titles into a parallel list, for
improved display.
* functions: main, inputs, processing, outputs
& get_pos_int, with exception handling &
restart in main(). Also includes comments -
docstring at top and short throughout.
This program summarizes a book list.
Enter the number of books that you need.
Please enter a whole number: three
Enter a number greater than 0: 3
Enter the cost of book #1, to the nearest dollar:
Please enter a whole number: 25
Enter the cost of book #2, to the nearest dollar:
Please enter a whole number: 35
Enter the cost of book #3, to the nearest dollar:
Please enter a whole number: 45
Info on 3 Books Needed
Book #
=
$
$
$
Price
25.00
35.00
45.00
105.00
3
Total
$
Average
$ 35.00
Need more books? Enter y or n: |
Starter results ↑
This program summarizes a book list.
Enter the number of books that you need:
Please enter a whole number: three
Enter a number greater than 0: 3
Enter the name of book #1: The Mueller Report
Enter cost of The Mueller Report, to the nearest dollar:
Please enter a whole number: 18
Enter the name of book #2: Educated: A Memoir
Lab results ↓
Enter cost of Educated: A Memoir, to the nearest dollar:
Please enter a whole number: 24
The Mueller Report
Educated: A Memoir
Becoming
Enter the name of book #3: Becoming
Enter cost of Becoming, to the nearest dollar:
Please enter a whole number: 12
Info on 3 Books Needed
Books
$
Price
18.00
24.00
12.00
54.00
S
Total
$
Average
$
18.00
Need more books? Enter y or n: |
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY