M

Mr. Dubey • 52.70K Points
Coach

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
Share

Explanation by: Mr. Dubey
 each object in python has a unique id. the id() function returns the object’s id.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics