in Python by
Q:
What Does The “Self” Keyword Do?

1 Answer

0 votes
by
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.

Related questions

0 votes
asked Jun 11, 2020 in Python by Robindeniel
0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
...