From 56c0347dd1596bf3f96d294e22ade14fe6004e12 Mon Sep 17 00:00:00 2001 From: Satwik Date: Fri, 20 Dec 2019 23:56:35 +0530 Subject: [PATCH] Minor correction --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67957cc..a068090 100644 --- a/README.md +++ b/README.md @@ -161,14 +161,17 @@ $ wtfpython -For some reason, the "Walrus" operator (`:=`) has become a popular feature in the language. Let's check it out, +For some reason, the Python 3.8's "Walrus" operator (`:=`) has become quite popular. Let's check it out, 1\. ```py +# Python version 3.8+ + >>> a = "wtf_walrus" >>> a 'wtf_walrus' + >>> a := "wtf_walrus" File "", line 1 a := "wtf_walrus" @@ -183,6 +186,8 @@ SyntaxError: invalid syntax 2 \. ```py +# Python version 3.8+ + >>> a = 6, 9 >>> a (6, 9)