Real Python
  • Start Here
  • Learn Python
    Start Learning
    Your Learning Plan →Your personalized Python learning plan Python Tutorials →In-depth articles and video courses Learning Paths →Guided study plans for accelerated learning
    Practice
    Quizzes & Exercises →Check your learning progress Browse Topics →Focus on a specific area or skill level Reference →Concise definitions for common Python terms
    Get Help
    Code Mentor →BetaPersonalized code assistance & learning tools Office Hours →Live Q&A calls with Python experts Community Chat →Learn with other Pythonistas
    Go Deeper
    Live Courses →Live, instructor-led Python courses Books →Round out your knowledge and learn offline Podcast →Hear what’s new in the world of Python
    Unlock All Content and Become a Python Expert →Get unlimited access to all Real Python has to offer
    Unlock All Content →Become a Python Expert
  • More
    Learner Stories Python Newsletter Python Job Board Meet the Team Become a Contributor
  • Search
/
  • Join
  • Sign‑In

Python Assignment Expressions and Using the Walrus Operator (Quiz)

Darren Jones
Python Assignment Expressions and Using the Walrus Operator Darren Jones 05:30
Recommended Tutorial Course Slides (.pdf) Sample Code (.zip) Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
92%
    Python Assignment Expressions and Using the Walrus Operator (Overview) 01:16
    Walrus Operator Fundamentals 01:19
    Hello, Walrus! 02:15
    Walrus Operator Motivation 02:30
    Walrus Operator Use Cases 00:38
    Debugging Complex Expressions 03:28
    Creating Lists and Dictionaries 06:27
    Constructing List Comprehensions 09:36
    Simplifying While Loops 03:45
    Witnesses and Counterexamples 05:51
    Assignment Expression Syntax 08:22
    Walrus Operator Pitfalls 01:15
    Python Assignment Expressions and Using the Walrus Operator (Quiz) 05:30
    Python Assignment Expressions and Using the Walrus Operator (Summary) 00:59

© 2012–2026 Real Python ⋅ Privacy Policy