Run »
×
Change Orientation
class Person: def __init__(self, fname, lname): self.firstname = fname self.lastname = lname def printname(self): print(self.firstname, self.lastname) class Student(Person): def __init__(self, fname, lname): super().__init__(fname, lname) x = Student("Mike", "Olsen") x.printname()
Mike Olsen
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit