---
title: "Comment by David Bankson on \"Python Gotchas: 5 Worst Mistakes You Should Avoid\" | Hashnode"
description: "The walrus operator is only making a 3-tuple because you are putting into a tuple in the first place. Do a print statement without the extra parens. Then try ty"
url: "https://hashnode.com/posts/python-gotchas/5f93f46afbdce372c9a56d6b/comment/5fcaabfe2e4db7780e482885"
---

[Discussion](https://hashnode.com/posts/python-gotchas/5f93f46afbdce372c9a56d6b)

Comment [Python Gotchas: 5 Worst Mistakes You Should Avoid](https://hashnode.com/posts/python-gotchas/5f93f46afbdce372c9a56d6b)

[David Bankson](https://hashnode.com/@QuothTheRaven42)

[Dec 4, 2020](https://hashnode.com/posts/python-gotchas/5f93f46afbdce372c9a56d6b/comment/5fcaabfe2e4db7780e482885)

The walrus operator is only making a 3-tuple because you are putting into a tuple in the first place. Do a print statement without the extra parens. Then try type-checking the print and it will throw an error...unless you put the parens around it so it sees a tuple. The walrus operator basically starts a new operation the way I've understood it; b := 16 evaluates and prints on its own, so everything is forced into evaluating like that.
