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

1 Answer

0 votes
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
0 votes
asked Jan 11, 2021 in Python by SakshiSharma