Skip to content

Commit 78cb5f3

Browse files
committed
Update README.md
- assignment expressions are evaluated and printed by the REPL
1 parent e9b04d3 commit 78cb5f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ File "<stdin>", line 1
181181
SyntaxError: invalid syntax
182182
183183
>>> (a := "wtf_walrus") # This works though
184+
'wtf_walrus'
184185
>>> a
185186
'wtf_walrus'
186187
```
@@ -195,6 +196,7 @@ SyntaxError: invalid syntax
195196
(6, 9)
196197
197198
>>> (a := 6, 9)
199+
(6, 9)
198200
>>> a
199201
6
200202

0 commit comments

Comments
 (0)