What is self python ?
Answers
Answered by
0
Answer:
self represents the instance of the class. By using the “self” keyword we can access the attributes and methods of the class in python. It binds the attributes with the given arguments. The reason you need to use self.
Answered by
5
self represents the instance of the class. By using the “self” keyword we can access the attributes and methods of the class in python. It binds the attributes with the given arguments. The reason you need to use self.
Similar questions
English,
2 months ago
Political Science,
4 months ago
Computer Science,
4 months ago
Math,
10 months ago
English,
10 months ago