What is a private method?
Answer / Ambika Varun
In Python, a private method is a method that is meant to be accessible only within the class in which it was defined. To make a method private, you can prefix its name with a single underscore (e.g., _my_method).
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain me what is unittest in python?
What are python packages?
Explain the uses of the modules sqlite3, ctypes, pickle, traceback, and itertools.
Why python is best for data science?
How do you include a string in python?
Where is python in anaconda?
Tell me why and when do you use generators in python?
What are tuples used for?
Write a program to produce fibonacci series in python.
How do you debug a program in python? Answer in brief.
What is the usage of enumerate () function in python?
What is yaml file in python?