mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 02:54:25 +01:00
Merge pull request #204 from myrmica-habilis/master
Add two missing outputs in the walrus examples
This commit is contained in:
commit
14600fd19b
2
README.md
vendored
2
README.md
vendored
@ -181,6 +181,7 @@ File "<stdin>", line 1
|
|||||||
SyntaxError: invalid syntax
|
SyntaxError: invalid syntax
|
||||||
|
|
||||||
>>> (a := "wtf_walrus") # This works though
|
>>> (a := "wtf_walrus") # This works though
|
||||||
|
'wtf_walrus'
|
||||||
>>> a
|
>>> a
|
||||||
'wtf_walrus'
|
'wtf_walrus'
|
||||||
```
|
```
|
||||||
@ -195,6 +196,7 @@ SyntaxError: invalid syntax
|
|||||||
(6, 9)
|
(6, 9)
|
||||||
|
|
||||||
>>> (a := 6, 9)
|
>>> (a := 6, 9)
|
||||||
|
(6, 9)
|
||||||
>>> a
|
>>> a
|
||||||
6
|
6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user