T

Tanmay • 2.43K Points
Master

Q. Which of the following uses the id() function in Python?

  • (A) id() returns the object identifier
  • (B) An object does not have a unique identifier
  • (C) All the answers are true
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 160
  • Filed under category Python

Explanation by: Tanmay
Each object in Python has a unique identifier. The id() function returns the identifier of the object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics