---
title: "Comment by Sean Charles on \"Trailing commas in python\" | Hashnode"
description: "It&#39;s always good to know about the different notation types: infix, postfix and prefix. Then, it&#39;s good to know how and when your language of choice dec"
url: "https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7/comment/5f37f365c4d5973f55c9087c"
---

[Discussion](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7)

Comment [Trailing commas in python](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7)

[Sean Charles](https://hashnode.com/@emacstheviking)

[Aug 15, 2020](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7/comment/5f37f365c4d5973f55c9087c)

It's always good to know about the different notation types: infix, postfix and prefix. Then, it's good to know how and when your language of choice decides to enforce them! Extending your example in 3.6 at the REPL confuses me more!

```
>>> foo = 1,
>>> print(type(foo))
<class 'tuple'>
>>> print(type(1,))
<class 'int'>
```

[Hemil Ruparel](https://hashnode.com/@rahem027)

[Aug 15, 2020](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7/comment/5f37f365c4d5973f55c9087c#reply-5f37f4df0801bf3f76e5f61b)

I understand infix, prefix and postfix though I dont know what exactly python does. And BTW i tried both. And it confused me more too. I will add this too 😁😁😁
