Search code examples
pythonpython-3.xwalrus-operator

In Python, What is the order of operations for the walrus operator?


It would be very useful if someone could give the answer by adding a W into PEMDAS. Thanks.


Solution

  • It is lower than everything except the comma operator. https://www.python.org/dev/peps/pep-0572/