Could anybody tell me about the use of python3.7 's latest 'walrus operator' ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Could anybody tell me about the use of python3.7 's latest 'walrus operator' ?

The walrus operator (:=) is the new operator 8n python 3.7 release (It's named so because it looks like the eyes and tusks of a walrus) I can't figure out its use via the py docs so can anybody tell its use in the codebase ?

21st Sep 2019, 9:22 PM
Rayyan Nafees
Rayyan Nafees - avatar
1 Answer