The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #947
Python 3.8 introduced assignment expressions, written with a new operator := . This operator is also known as the walrus operator as it resembles the eyes and tusks of a walrus on its side. Assignment expressions allow to assign and use an object in one line.
print(walrus := True)
True
(realpython.com/lessons/assignment-expressions)
What Python version introduced the walrus operator?
— The Python Quiz (@thepythonquiz) August 25, 2021
3.9
3.10
3.6
3.7
3.8
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅