Chat with us, powered by LiveChat Can you write python 3 code | WriteDemy

Question Description

(1) Build a dictionary that contains the movie collection below. Hint: Combine movie title and director into a list.

Year          Title                       Director2005          Munich                      Steven Spielberg2006          The Prestige                Christopher Nolan2006          The Departed                Martin Scorsese2007          Into the Wild               Sean Penn2008          The Dark Knight             Christopher Nolan2009          Mary and Max                Adam Elliot2010          The King's Speech           Tom Hooper2011          The Artist                  Michel Hazanavicius2011          The Help                    Tate Taylor2012          Argo                        Ben Affleck2013          12 Years a Slave            Steve McQueen2014          Birdman                     Alejandro G. Inarritu2015          Spotlight                   Tom McCarthy2016          The BFG                     Steven Spielberg

(2) Prompt the user for a single year and output the movie title(s) and director(s) from that year. Output N/A if the year is invalid. (4 pts)

Ex:

Enter a year between 2005 and 2016:2011The Artist, Michel HazanaviciusThe Help, Tate Taylor

(3) After prompting the user for a year and displaying the title(s) and directors(s) from that year, display a menu. The menu enables a user to display the movies sorted by year, director, or movie title. Each option is represented by a single character.

The program initially outputs the menu, and outputs the menu after a user chooses an option. If an invalid character is entered, continue to prompt for a valid choice. The program ends when the user chooses the option to Quit. Hint: Implement Quit before implementing other options. For this step, the other options do nothing. (1 pt)

Ex:

Enter a year between 2005 and 2016:2011The Artist, Michel HazanaviciusThe Help, Tate TaylorMENUSort by:y - Yeard - Directort - Movie titleq - QuitChoose an option:

(4) Implement the sort by year menu option. Note: There is a newline and a tab between the year and the movie title/director. (2 pts)

Ex:

...Choose an option:y2005:    Munich, Steven Spielberg2006:    The Prestige, Christopher Nolan    The Departed, Martin Scorsese2007:    Into the Wild, Sean Penn2008:    The Dark Knight, Christopher Nolan...

(5) Implement the sort by director menu option. For directors with multiple films on the list, order their films by year. Note: There is a newline and a tab between the director's name and the movie title/year. (3 pts)

Ex:

...Choose an option:dAdam Elliot:    Mary and Max, 2009Alejandro G. Inarritu:    Birdman, 2014Ben Affleck:    Argo, 2012Christopher Nolan:    The Dark Knight, 2008    The Prestige, 2006...

(6) Implement the sort by movie title menu option. Note: There is a newline and a tab between the movie title and the movie director/year. (2 pts)

Ex:

...Choose an option:t12 Years a Slave:    Steve McQueen, 2013Argo:    Ben Affleck, 2012Birdman:    Alejandro G. Inarritu, 2014Into the Wild:    Sean Penn, 2007...

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order