Python Practice Test
Python Operators and Expressions 2
What does the walrus operator `:=` do in Python?
Select your answer
A
Assigns a value and returns it in the same expression
B
Compares two values for equality
C
Performs integer division
D
Creates a new variable in a separate scope
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 PYTHON Flashcards — Study This Quiz as Flip Cards →
📚 Want to go deeper? Read the Full PYTHON Study Guide →