A

Admin • 833.24K Points
Coach

Q. What does `is` operator compare?

  • (A) Equality of values
  • (B) Data type
  • (C) Object identity
  • (D) String content
  • Correct Answer - Option(C)
  • Views: 29
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`is` checks whether two variables refer to the same object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.