Question: Python question. Problem program.pynominees.csv The votes are in... and it's up to you to make sure the correct winner is announced! You've been given a
Python question.


Problem program.pynominees.csv The votes are in... and it's up to you to make sure the correct winner is announced! You've been given a CSV file called nominees.csv, which contains the names of various movies nominated for a prize, and the people who should be announced as the recipient. The file will look like this title,director (s) Schindler's List,Steven Spielberg "o Brother, Where Art Thou?", "Joel Coen, Ethan Coen" 2001: A Space Odyssey,Stanley Kubrick "Sher lock, 3r.", "Buster Keaton, Roscoe Arbuckle" You should write a program that reads in nominees.csv, asks for the name of the winning title, and prints out specific congratulations. For example, with the above file, your program should work like this: Winning title: O Brother, Where Art Thou? Congratulations: Joel Coen, Ethan Coen Submissions Output Here is another example, using the same file: Winning title: Schindler's List Congratulations: Steven Spielberg Remember Don't hard-code these substitutions, as we will test your code with different sets of abbreviations in the nominees.csv file
Step by Step Solution
There are 3 Steps involved in it
To solve this problem youll write a Python program that reads from a CSV file and prints a congratul... View full answer
Get step-by-step solutions from verified subject matter experts
