...

/

First Things First!

First Things First!

We'll cover the following...

Python 3.8’s “Walrus” operator (:=) was quite popular. Let’s check it out.

Press + to interact
a = "ftw_walrus"
print(a)
Press + to interact
a := "ftw_walrus" # doesn't work
Press + to interact
(a := "ftw_walrus") # This works though
print(a)

Explanation

The Walrus operator (:=) was introduced in Python ...