Explanation: Functions can be defined inside a module, a class or another function. 4. What is called when a function is defined inside a class?
A. Module
B. Class
C. Another function
D. Method
Answer:A
Explanation: Functions can be defined inside a module, a class or another function. 4. What is called when a function is defined inside a class?
A. Module B. Class C. Another function D. Method
Explanation: None. 5. Which of the following is the use of id() function in python?