Login
Remember
Register
Ask a Question
What Does The “Self” Keyword Do?
0
votes
asked
Dec 22, 2019
in
Python
by
rajeshsharma
What Does The “Self” Keyword Do?
#python-keyword
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 22, 2019
by
sharadyadav1986
The self is a Python keyword which represents a variable that holds the instance of an object.
In almost, all the object-oriented languages, it is passed to the methods as a hidden parameter.
...