Question: PYTHON JUPYTER LAB (PLEASE INCLUDE COMMENTS IN CODE) Json file Question 5. Write a function called Movies ByBirthplace that returns a 10 list of movie

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'. MoviesByBirthplace(movies, place) . Arguments: movies - object, place - string Return: 10 List - [movie names) ! Untitled 1.ipynb 4 movies.json Filter root: [] 107 items 0: 1: 2: actor: [] 2 items categories: [] 3 items 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: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: root: ( 107 items 1: 2: actor: 0 2 items 0: birthdate: "1951-09-25" birthname: "Mark Richard Hamill" birthplace: "Oakland, California, USA" name: "Mark Hamill" 1: birthdate: "1942-07-13" birthname: "Harrison Ford" birthplace: "Chicago, Illinois, USA" name: "Harrison Ford" categories: [] 3 items director: "George Lucas" name: "Star Wars: Episode IV - A New Hope" release-date: "1977-05-25" runtime: 121 writer: "George Lucas" year: 1977 3: 4: 5: 6: 7: 8: 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
