Read a list of TV shows from a file named "Shows.txt" and store them in a Python list of dictionaries. Shows.txt: Breaking Bad, 2008, Drama, 9.5, Vince Gilligan Stranger Things, 2016, Sci-Fi, 8.7, The Duffer Brothers The Crown, 2016, Drama, 8.6, Peter Morgan Black Mirror, 2011, Sci-Fi, 8.8, Charlie Brooker Game of Thrones, 2011, Fantasy, 9.3, David Benioff and D. B. Weiss The Mandalorian, 2019, Action, 8.7, Jon Favreau The Witcher, 2019, Fantasy, 8.2, Lauren Schmidt Hissrich Output all the TV shows in your list. Output all TV shows released before the year 2015. Output all TV shows with a rating higher than 8.5. Calculate the average episode count of all TV shows in your list. Create a histogram of the genres of the TV shows. Each element in the histogram should represent the count of shows in a specific genre. Take all the TV shows in "Shows.txt" and store them in a Python set of tuples where each tuple represents (show title, release year). Output all unique creators of the TV shows. Output the total number of entries in your set.

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
Read a list of TV shows from a file named "Shows.txt" and store them in a Python list
of dictionaries.
Shows.txt:
Breaking Bad, 2008, Drama, 9.5, Vince Gilligan
Stranger Things, 2016, Sci-Fi, 8.7, The Duffer Brothers
The Crown, 2016, Drama, 8.6, Peter Morgan
Black Mirror, 2011, Sci-Fi, 8.8, Charlie Brooker
Game of Thrones, 2011, Fantasy, 9.3, David Benioff and D. B. Weiss
The Mandalorian, 2019, Action, 8.7, Jon Favreau
The Witcher, 2019, Fantasy, 8.2, Lauren Schmidt Hissrich
Output all the TV shows in your list.
Output all TV shows released before the year 2015.
Output all TV shows with a rating higher than 8.5.
Calculate the average episode count of all TV shows in your list.
Create a histogram of the genres of the TV shows. Each element in the histogram
should represent the count of shows in a specific genre.
Take all the TV shows in "Shows.txt" and store them in a Python set of tuples where
each tuple represents (show title, release year).
Output all unique creators of the TV shows.
Output the total number of entries in your set.
Transcribed Image Text:Read a list of TV shows from a file named "Shows.txt" and store them in a Python list of dictionaries. Shows.txt: Breaking Bad, 2008, Drama, 9.5, Vince Gilligan Stranger Things, 2016, Sci-Fi, 8.7, The Duffer Brothers The Crown, 2016, Drama, 8.6, Peter Morgan Black Mirror, 2011, Sci-Fi, 8.8, Charlie Brooker Game of Thrones, 2011, Fantasy, 9.3, David Benioff and D. B. Weiss The Mandalorian, 2019, Action, 8.7, Jon Favreau The Witcher, 2019, Fantasy, 8.2, Lauren Schmidt Hissrich Output all the TV shows in your list. Output all TV shows released before the year 2015. Output all TV shows with a rating higher than 8.5. Calculate the average episode count of all TV shows in your list. Create a histogram of the genres of the TV shows. Each element in the histogram should represent the count of shows in a specific genre. Take all the TV shows in "Shows.txt" and store them in a Python set of tuples where each tuple represents (show title, release year). Output all unique creators of the TV shows. Output the total number of entries in your set.
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
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