on-internet
← Community

Why does == return True while is returns False? [duplicate]

Stack Overflow ·

I am learning Python and noticed that the == and is operators sometimes return different results when comparing two lists containing the same values.

Comments

Sign in or sign up to comment and upvote.

No comments yet.