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 firstname, lastname and middlename.
#Define a method that returns a neatly formatted string of the Student's information.
#Include a getfullname 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 ifelse statement to satisfy this requirement.
#Your method should return either firstname, middlename, lastname or firstname, lastname
#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 createundergradstudent to the Undergrad class to format and return the information of an undergraduate student.
#Define the GradStudent Class Also Inherits from Student:
#Create a class named GradStudent as a subclass of Student.
#Implement an init method in the GradStudent class to initialize attributes such as level, major, concentration, and thesis topic, in addition to those inherited from Student.
#Add a method named creategradstudent to the GradStudent 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
