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

Method show

Chapter 11/01_inheritance.py:3–4  ·  view source on GitHub ↗
(self)

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}")
5
6
7# class Programmer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected