MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / 01_inheritance.py

File 01_inheritance.py

Chapter 11/01_inheritance.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Employee:
2 company = "ITC"
3 def show(self):
4 print(f"The name of the Employee is {self.name} and the salary is {self.salary}")

Callers

nothing calls this directly

Calls 2

EmployeeClass · 0.70
ProgrammerClass · 0.70

Tested by

no test coverage detected