Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python please include comments in code json movie file Question 5. Write a function called Movies ByBirthplace that returns a 10 list of movie names

python
please include comments in code
json movie file
image text in transcribed
image text in transcribed
Question 5. Write a function called Movies ByBirthplace that returns a 10 list of movie names for all movies that include actors whose birthplace matches a given place, i.e. 'Pennsylvania', 'USA', 'Scotland'. Movies ByBirth Place(movies, place) Arguments: movies - object, place - string Return: 1D List - (movie names) . File Edit View Run Kernel Tabs Settings Help X Maps.ipynb Untitled1.ipynb (11) movies.json root: 1) 107 items Filter 1: 2: actor: 1) 2 items categories: [] 3 items : "action" 1: "adventure" 2: "sci-fi" director: "George Lucas" name: "Star Wars: Episode IV - A New Hope" release-date: "1977-05-25" runtime: 121 writer: "George Lucas" year: 1977 3: 5: 6: 7: 10: actor: [] 5 items categories: 0 Items 8: "Crime" 1: "drama" director: "Frank Darabont" name: "The Shawshank Redemption" release date: 1993-09-10" runtime: 142 storyline: "Two imprisoned men bond over a number of years, finding solace anc redemption through acts of common decency." writert (1 2 Items year: 1994 Saving Question 5. Write a function called Movies ByBirthplace that returns a 10 list of movie names for all movies that include actors whose birthplace matches a given place, i.e. 'Pennsylvania', 'USA', 'Scotland'. Movies ByBirth Place(movies, place) Arguments: movies - object, place - string Return: 1D List - (movie names) . File Edit View Run Kernel Tabs Settings Help X Maps.ipynb Untitled1.ipynb (11) movies.json root: 1) 107 items Filter 1: 2: actor: 1) 2 items categories: [] 3 items : "action" 1: "adventure" 2: "sci-fi" director: "George Lucas" name: "Star Wars: Episode IV - A New Hope" release-date: "1977-05-25" runtime: 121 writer: "George Lucas" year: 1977 3: 5: 6: 7: 10: actor: [] 5 items categories: 0 Items 8: "Crime" 1: "drama" director: "Frank Darabont" name: "The Shawshank Redemption" release date: 1993-09-10" runtime: 142 storyline: "Two imprisoned men bond over a number of years, finding solace anc redemption through acts of common decency." writert (1 2 Items year: 1994 Saving

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

Question How are IRAs treated for state tax law purposes?

Answered: 1 week ago