Namnändringar

This commit is contained in:
2018-03-15 15:57:10 +01:00
parent 0e9132c795
commit b7346fbbd8
2 changed files with 0 additions and 2 deletions

View File

@@ -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