Skip to content

Commit 44a4341

Browse files
committed
Enheritance
1 parent 5471ae8 commit 44a4341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ class <name>:
604604
class Person:
605605
def __init__(self, name, age):
606606
self.name = name
607-
self.age = age
607+
self.age = age
608608

609609
class Employee(Person):
610610
def __init__(self, name, age, staff_num):

0 commit comments

Comments
 (0)