Scenario involving a list of books stored in a file named "Books.txt." Create a Python program that performs the following tasks: Output all books in your list. Output books published between the years 2015 and 2020. Calculate the average rating of all books. Create a histogram of the number of books in each genre. Each element in the histogram should represent the count of books in a specific genre. Take all the books in "Books.txt" and store them in a Python set. Output all unique authors of the books. Output the total number of entries in your set. Books.txt: "The Silent Observer," 2018, Mystery, Emily Williams "Beyond the Horizon," 2016, Fantasy, David Thompson "Code Breakers," 2019, Thriller, Sarah Miller "Infinite Realms," 2017, Sci-Fi, Mark Anderson "Whispers of the Past," 2015, Historical Fiction, Jessica Turner "Echoes of Eternity," 2020, Romance, Alex Roberts "Mind Games," 2016, Psychological Thriller, Rachel Collins "Lost in Translation." 2018, Contemporary Fiction, Michael Walker

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...
icon
Related questions
Question
I know you are using Al tools to generate answer but I don't want these answers. If I see Al
or plagiarism in my response I'll definitely reduce rating and will report for sure. So be
careful. I'll take serious action.
Scenario involving a list of books stored in a file named "Books.txt." Create a Python program
that performs the following tasks:
Output all books in your list.
Output books published between the years 2015 and 2020.
Calculate the average rating of all books.
Create a histogram of the number of books in each genre. Each element in the histogram
should represent the count of books in a specific genre.
Take all the books in "Books.txt" and store them in a Python set.
Output all unique authors of the books.
Output the total number of entries in your set.
Books.txt:
"The Silent Observer," 2018, Mystery, Emily Williams
"Beyond the Horizon," 2016, Fantasy, David Thompson
"Code Breakers," 2019, Thriller, Sarah Miller
"Infinite Realms," 2017, Sci-Fi, Mark Anderson
"Whispers of the Past," 2015, Historical Fiction, Jessica Turner
"Echoes of Eternity," 2020, Romance, Alex Roberts
"Mind Games," 2016, Psychological Thriller, Rachel Collins
"Lost in Translation," 2018, Contemporary Fiction, Michael Walker
Transcribed Image Text:I know you are using Al tools to generate answer but I don't want these answers. If I see Al or plagiarism in my response I'll definitely reduce rating and will report for sure. So be careful. I'll take serious action. Scenario involving a list of books stored in a file named "Books.txt." Create a Python program that performs the following tasks: Output all books in your list. Output books published between the years 2015 and 2020. Calculate the average rating of all books. Create a histogram of the number of books in each genre. Each element in the histogram should represent the count of books in a specific genre. Take all the books in "Books.txt" and store them in a Python set. Output all unique authors of the books. Output the total number of entries in your set. Books.txt: "The Silent Observer," 2018, Mystery, Emily Williams "Beyond the Horizon," 2016, Fantasy, David Thompson "Code Breakers," 2019, Thriller, Sarah Miller "Infinite Realms," 2017, Sci-Fi, Mark Anderson "Whispers of the Past," 2015, Historical Fiction, Jessica Turner "Echoes of Eternity," 2020, Romance, Alex Roberts "Mind Games," 2016, Psychological Thriller, Rachel Collins "Lost in Translation," 2018, Contemporary Fiction, Michael Walker
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY