adplus-dvertising
frame-decoration

Question

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

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is the use of id() function in python?