Computers and Technology, 13.06.2020 19:57 rachelkorkees
Write a program that first reads in the name of an input file and then reads the input file using the file. readlines() method. The input file contains an unsorted list of number of seasons followed by the corresponding TV show. Your program should put the contents of the input file into a dictionary where the number of seasons are the keys, and a list of TV shows are the values (since multiple shows could have the same number of seasons). Sort the dictionary by key (least to greatest) and output the results to a file named output_keys. txt, separating multiple TV shows associated with the same key with a semicolon (;). Next, sort the dictionary by values (alphabetical order), and output the results to a file named output_titles. txt. Ex: If the input is:
Answers: 3
Computers and Technology, 22.06.2019 00:00
11. is the ability to understand how another person is feeling. a. authority b. sympathy c. empathy d. taking a stand
Answers: 1
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she donโt need. which action should she take to better manager her emails?
Answers: 1
Write a program that first reads in the name of an input file and then reads the input file using th...
Business, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
History, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
English, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Chemistry, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40
History, 04.07.2019 01:40
History, 04.07.2019 01:40
Mathematics, 04.07.2019 01:40