Write the Director class with the required methods to give the following outputs as shown. # Write your codes here. # Do not change the following lines of code. a1 = Director() print("====:...


Write the Director class with the required methods to give<br>the following<br>outputs as shown.<br># Write your codes here.<br># Do not change the following lines of code.<br>a1 = Director()<br>print(

Extracted text: Write the Director class with the required methods to give the following outputs as shown. # Write your codes here. # Do not change the following lines of code. a1 = Director() print("====: a1.add_movie('Raising Arizona', 'Comedy-Crime', 29.2) print("======: a1.set_director_name('Joel Coen') a1.add_movie('Raising Arizona', 'Comedy-Crime', 29.2) a1.print_details(0 print("=== a1.add_movie('The Big Lebowski', 'Comedy-Crime', 46.7) a1.add_movie(True Grit', 'Western-Drama', 252.2) a1.print_details() print("=== a2 = Director('Marc Forster') a2.add_movie('Machine Gun Preacher', 'Action', 3.3) a2.add_movie('Quantum of Solace', 'Action', 589.6) a2.print_details(0 print("== ==") ======") =========") ==") =") OUTPUT: Please add a director name first Number of Movie(s): 1 Director Name: Joel Coen Comedy-Crime: Raising Arizona Number of Movie(s): 3 Director Name: Joel Coen Comedy-Crime: Raising Arizona, The Big Lebowski Western-Drama: True Grit Number of Movie(s): 2 Director Name: Marc Forster Action: Machine Gun Preacher, Quantum of Solace

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here