Is self mandatory in python?
Answer / Taruna Singh
Yes, the first parameter of any instance method in a Python class is always implicitly named 'self'. It refers to the current instance of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about indexing and slicing operation in sequences?
Explain how to copy an object in Python.
What is the maximum possible length of an identifier?
What is python easy_install?
What are loops in python?
What are the differences between python 2.x and python 3.x?
Write a program to reverse the string?
What is dogpile mechanism? Explain.
Why should we hire you examples?
What is meta class in python?
What is the use of ‘self’ keyword in python?
What makes python object-oriented?