MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / Employee

Class Employee

Chapter 11/02_multiple_inheritance.py:1–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class Employee:
2 company = "ITC"
3 name = "Default name"
4 def show(self):
5 print(f"The name of the Employee is {self.name} and the company is {self.company}")
6
7class Coder:
8 language = "Python"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected