Get Mystery Box with random crypto!

More about := Well, as I told you earlier, that's the assignm | Timur Soliev - Revival

More about :=

Well, as I told you earlier, that's the assignment expression or most usually called the "walrus operator" cause it resembles the eye and the tusk of a walrus on Its side.

What actually is this walrus operator in #Python?
There could be a lot of things involved with the walrus operator, however, I wish to make you have an understanding of this operator and not get confused when you see it in the wild.

First, understand that there is no code that must be written with the walrus operator with no other way around it.

Its use is mostly advised in order to avoid repetition with functions, repetition with statements, repeated calls, and all.

This means that after you write a program and you feel it's too verbose you could consider making use of the walrus operator.

Moving on, the walrus operator like its original name assignment expression primarily, is using the traditional assignment operator inside an expression.

To understand this better, let me quickly explain an expression and statement.
Recall from mathematics, quadratic expressions, and equations.
Similarly, an expression is what should be evaluated to determine a value. While a statement could be the equation.

More like,
expression: a + 10
statement: value = a + 10

So, while in an expression you can freely make use of the walrus operator. And to avoid bugs in #Python it was made in such a way, that there's no case where the walrus operator and the traditional assignment could be used at the same time.

@TimurSoliev #1