Skip to content

Instantly share code, notes, and snippets.

@jlggross
Last active August 11, 2020 12:19
Show Gist options
  • Save jlggross/4527221c1a728f2d87f57385d0dc3036 to your computer and use it in GitHub Desktop.
Save jlggross/4527221c1a728f2d87f57385d0dc3036 to your computer and use it in GitHub Desktop.
Operators comparison in Python - Part 03
x = []
y = []
print(x == y)
# True
print(x is y)
# False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment