Explanation: each object in python has a unique id. the id() function returns the object’s id.
Q. Which of the following is the use of id() function in python?
β
Correct Answer: (A)
id returns the identity of the object
Explanation by: Mr. Dubey
each object in python has a unique id. the id() function returns the object’s id.
Discussion
Question Analytics
309
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
81%
Success Rate