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