Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Greed And Fear Understanding Behavioral Finance And The Psychology Of Investing

Authors: Hersh Shefrin

1st Edition

0195161211, 978-0195161212

Students also viewed these Databases questions