Question: 1b. Use the Student_display() method given below to print instance variables: name and id. def display(self): prefix = 'QCC-ET-' print(Name: , self.name.title()) print((fId: {prefix {
1b. Use the Student_display() method given below to print instance variables: name and id. def display(self): prefix = 'QCC-ET-' print("Name:" , self.name.title()) print((f"Id: \{prefix { self.id\}')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
