Which Python version introduced the walrus operator :=?
Correct answer
D. 3.8
5 views
D. 3.8
5 views
Assignment expressions (PEP 572) arrived in 3.8.
Asked in: Python Interview Basics
https://docs.python.org/3/tutorial/introduction.htmlNot sure why the answer is D? Ask here and get an explanation.