McqMate
Q. |
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. id returns the identity of the object | |
Explanation: each object in python has a unique id. the id() function returns the object’s id. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet