Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
class
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
Employee
Class · 0.70
Programmer
Class · 0.70
Tested by
no test coverage detected