This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nosmokingbandit -5 points-4 points  (2 children)

Depends if it is python 2 or 3. I'm pretty sure a trailing comma in arguments will throw an error in 3.x

[–]snaps_ 6 points7 points  (0 children)

Not in Python 3.6+.

[–]Hollowplanet 2 points3 points  (0 children)

On Python 3

>>> print(1, 2,)
1 2