πŸ“Š Problem Solving and Python Programming
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
πŸ’¬ Discuss
βœ… Correct 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.


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