In place and walrus operator | Sololearn: Learn to code for FREE!
+ 2

In place and walrus operator

How do I do this thing? I use python 3.7 and the walrus operator doesn’t seem to work and is giving me all sorts of errors

4th Jan 2022, 1:33 AM
Daniel Kusi
2 Answers
+ 3
Update your python to 3.8 or above, it's not supported in 3.7. https://www.python.org/dev/peps/pep-0572/
4th Jan 2022, 1:39 AM
FanYu
FanYu - avatar
+ 1
Ok thanks
4th Jan 2022, 1:41 AM
Daniel Kusi