Second Edition8 min read
Item 10: Prevent Repetition with Assignment Expressions
An assignment expression—also known as the walrus operator—is a new syntax introduced in Python 3.8 to solve a long-standing problem with the language that can cause code duplication.
By Brett SlatkinEffective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog

Read the full story
Originally published by Effective Python: 90 Specific Ways to Write Better Python by Brett Slatkin Blog on Feb 3, 2020.
Comments
Sign in to join the discussion.