Skip to content

Commit 56c0347

Browse files
committed
Minor correction
1 parent 7006084 commit 56c0347

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,17 @@ $ wtfpython
161161
<!-- Example ID: d3d73936-3cf1-4632-b5ab-817981338863 -->
162162
<!-- read-only -->
163163
164-
For some reason, the "Walrus" operator (`:=`) has become a popular feature in the language. Let's check it out,
164+
For some reason, the Python 3.8's "Walrus" operator (`:=`) has become quite popular. Let's check it out,
165165
166166
1\.
167167
168168
```py
169+
# Python version 3.8+
170+
169171
>>> a = "wtf_walrus"
170172
>>> a
171173
'wtf_walrus'
174+
172175
>>> a := "wtf_walrus"
173176
File "<stdin>", line 1
174177
a := "wtf_walrus"
@@ -183,6 +186,8 @@ SyntaxError: invalid syntax
183186
2 \.
184187
185188
```py
189+
# Python version 3.8+
190+
186191
>>> a = 6, 9
187192
>>> a
188193
(6, 9)

0 commit comments

Comments
 (0)