View the step-by-step solution to:

I am having a problem with a line in my code. It is a Newline error on the last line "choose an option". I have changed it a couple of times and I...

I am having a problem with a line in my code. It is a Newline error on the last line "choose an option". I have changed it a couple of times and I can't get the expected output.

http://tpcg.io/RArdgn


Above is my code. It should look like this:


Enter a year between 2005 and 2016:

Argo, Ben Affleck


MENU

Sort by:

y - Year

d - Director

t - Movie title

q - Quit


Choose an option:

12 Years a Slave:

    Steve McQueen, 2013


Argo:

    Ben Affleck, 2012


Birdman:

    Alejandro G. Inarritu, 2014


Into the Wild:

    Sean Penn, 2007


Mary and Max:

    Adam Elliot, 2009


Munich:

    Steven Spielberg, 2005


Spotlight:

    Tom McCarthy, 2015


The Artist:

    Michel Hazanavicius, 2011


The BFG:

    Steven Spielberg, 2016


The Dark Knight:

    Christopher Nolan, 2008


The Departed:

    Martin Scorsese, 2006


The Help:

    Tate Taylor, 2011


The King's Speech:

    Tom Hooper, 2010


The Prestige:

    Christopher Nolan, 2006


MENU

Sort by:

y - Year

d - Director

t - Movie title

q - Quit


Choose an option:

Top Answer

I am using python 3.6 in Visual Code and the... View the full answer

movies.PNG

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online