Question: USE PYTHON (JUPYTER) Question 5 - Objects and Sharing (8 marks) Question 5a (4 marks) Provide code to define a class movie to represent individual
USE PYTHON (JUPYTER)

Question 5 - Objects and Sharing (8 marks) Question 5a (4 marks) Provide code to define a class movie to represent individual movie objects. movie should include title, year, rating, director(s), quotes list and a method addQuote (quote) to add a movie quote to the extendable list of notable quotes. e.g. "Monty Python and the Holy Grail" (1975) PG, Director: Terry Gilliam and Terry Jones, *"It's just a flesh wound!"* "Life of Brian" (1979) M, Director: Terry Jones, *"All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a fresh water system, and public health, what have the Romans ever done for us?"* In [7]: # code for 5a here Question 5b (4 marks) Now provide code to: 1. Create at least three movie objects 2. Put them into a list of movies called library 3. Add some quotes for each movie 4. Print the movies out, including quotes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
