Skip to content

Instantly share code, notes, and snippets.

@alex-eri
Created May 22, 2020 19:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex-eri/dc2f48238440f5e98f9a80814bdf6865 to your computer and use it in GitHub Desktop.
Save alex-eri/dc2f48238440f5e98f9a80814bdf6865 to your computer and use it in GitHub Desktop.
>>> a=lambda: (n:=4)
>>> n
2
>>> a()
4
>>> n
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment