Question: #In your classes module: #Define a Student class with a initialization method that initializes first _ name, last _ name and middle _ name. #Define

#In your classes module:
#Define a Student class with a initialization method that initializes first_name, last_name and middle_name.
#Define a method that returns a neatly formatted string of the Student's information.
#Include a get_full_name method in the Student class to return the full name of the student, including the middle name if provided.
#This method should handle cases where the student does not have a middle name. You might consider a conditional (if-else statement) to satisfy this requirement.
#Your method should return either (first_name, middle_name, last_name) or (first_name, last_name).
#Define the Undergrad Class (Inherits from Student):
#Create a class named Undergrad that inherits from the Student class.
#Implement an __init__ method in the Undergrad class to initialize attributes such as level, major, and concentration, in addition to those inherited from Student.
#Add a method named create_undergrad_student to the Undergrad class to format and return the information of an undergraduate student.
#Define the Grad_Student Class (Also Inherits from Student):
#Create a class named Grad_Student as a subclass of Student.
#Implement an __init__ method in the Grad_Student class to initialize attributes such as level, major, concentration, and thesis topic, in addition to those inherited from Student.
#Add a method named create_grad_student to the Grad_Student class to format and return the information of a graduate student.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!