Skip to content

Instantly share code, notes, and snippets.

@jlggross
Created August 11, 2020 12:17
Show Gist options
  • Save jlggross/c18378f34bbf1fbbdf6b609057566a08 to your computer and use it in GitHub Desktop.
Save jlggross/c18378f34bbf1fbbdf6b609057566a08 to your computer and use it in GitHub Desktop.
Operators comparison in Python - Part 2
x = 10000
y = 10000
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