Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ getInfo
Method
getInfo
Chapter 10/03_self.py:5–6 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3
salary = 1200000
4
5
def
getInfo(self):
6
print(f
"The language is {self.language}. The salary is {self.salary}"
)
7
8
@staticmethod
9
def
greet():
Callers
1
03_self.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected