Skip to content

Instantly share code, notes, and snippets.

@searge
Last active October 9, 2018 15:44
Show Gist options
  • Save searge/11f85a0452ad650376e00760c245d0d5 to your computer and use it in GitHub Desktop.
Save searge/11f85a0452ad650376e00760c245d0d5 to your computer and use it in GitHub Desktop.
Python Snippets
'''
Pythonic way of
VALUE SNAPPING
'''
a, b = 5, 10
print(a, b)
a, b = b, a
print(a, b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment