Explanation: None. 5. Which of the following is the use of id() function in python?
A. Id returns the identity of the object
B. Every object doesn’t have a unique id
C. All of the mentioned
D. None of the mentioned
Answer:A
Explanation: None. 5. Which of the following is the use of id() function in python?
A. Id returns the identity of the object B. Every object doesn’t have a unique id C. All of the mentioned D. None of the mentioned
Explanation: Each object in Python has a unique id. The id() function returns the object’s id. 6. Which of the following refers to mathematical function?