Skip to content

Instantly share code, notes, and snippets.

@jlggross
Created August 11, 2020 12:21
Show Gist options
  • Save jlggross/94300599ca107b3657034a5cae6d97b5 to your computer and use it in GitHub Desktop.
Save jlggross/94300599ca107b3657034a5cae6d97b5 to your computer and use it in GitHub Desktop.
Operators comparison in Python - Part 04
x = 10000
y = x
print(x == y)
# True
print(x is y)
# True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment