TIL the Python "walrus" operator:
https://www.quora.com/What-is-the-most-surprising-trick-in-Python-that-you-are-aware-of/answer/Jeffrey-Egbadon
Upstream docs: https://docs.python.org/3/reference/expressions.html#assignment-expressions
https://www.quora.com/What-is-the-most-surprising-trick-in-Python-that-you-are-aware-of/answer/Jeffrey-Egbadon
Upstream docs: https://docs.python.org/3/reference/expressions.html#assignment-expressions
- replies
- 1
- announces
- 1
- likes
- 1