1 parent 8802cfb commit 1e2e692Copy full SHA for 1e2e692
1 file changed
OOPS/hybrid_inheritence_example1.py
@@ -21,6 +21,7 @@ def __init__(self, name):
21
self.name = name
22
23
24
+
25
# Employee class inherits from Person
26
class Employee(Person):
27
# Method to show role
0 commit comments