Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ getInfo
Method
getInfo
Chapter 10/04_constructor.py:12–13 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
10
11
12
def
getInfo(self):
13
print(f
"The language is {self.language}. The salary is {self.salary}"
)
14
15
@staticmethod
16
def
greet():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected