Namnändringar
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
class Person:
|
class Person:
|
||||||
|
|
||||||
def __init__(self, first, last):
|
def __init__(self, first, last):
|
||||||
self.firstname = first
|
self.firstname = first
|
||||||
self.lastname = last
|
self.lastname = last
|
||||||
@@ -8,7 +7,6 @@ class Person:
|
|||||||
return self.firstname + " " + self.lastname
|
return self.firstname + " " + self.lastname
|
||||||
|
|
||||||
class Employee(Person):
|
class Employee(Person):
|
||||||
|
|
||||||
def __init__(self, first, last, staffnum):
|
def __init__(self, first, last, staffnum):
|
||||||
Person.__init__(self,first, last)
|
Person.__init__(self,first, last)
|
||||||
self.staffnumber = staffnum
|
self.staffnumber = staffnum
|
||||||
Reference in New Issue
Block a user