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

  • (A) Every object in Python doesn’t have a unique id
  • (B) In Python Id function returns the identity of the object
  • (C) None of the mentioned
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) In Python Id function returns the identity of the object

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
302
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
92%
Success Rate