Question: Task-3 Design a class Course for the given code below. Write a class Course Write the required constructor and initialize the instance variables accordingly. Write

Task-3 Design a class Course for the given code below. Write a class Course Write the required constructor and initialize the instance variables accordingly. Write a method detail that gives an output as shown. COPY THIS PORTION #Write your code here #Do not change the following code: c1 = Course("CSE110", "TBA", 8) c1.detail) print("===============") C2 = Course("CSE422", "MZP", 9) c2 detail OUTPUT: CSE 110 - TBA-8 =============== CSE422 - MZP-9 In [ ]: N 1 #write your code here 3 # TODO 4 5 #Do not change the following code: 6 C1 Course("CSE110", "TBA", 8) 7 c1.detail 8 print("===============") 9 C2 = Course ("CSE422", "MZP", 9) 10 c2.detail)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
