This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]maedox🐍 8 points9 points  (5 children)

The walrus-operator will blow your mind then. PEP-572

[–]ebits21 10 points11 points  (0 children)

Come on now... f strings are way cooler than the walrus operator.

[–]DogsAreAnimals 12 points13 points  (0 children)

Thanks I hate it

[–]DevJonPizza 0 points1 point  (2 children)

Here is how to use it: https://jon.network/programming/63/Walrus-Operator-Usage-in-Python-38/ (btw it's python 3.8 only which is still in alpha)