r/pythontips • • May 12 '21

Syntax The Fun of Using Punctuation in Python

Python is a very elegant programming language. Even just a simple punctuation may has very fancy tricks to use it better.

Here I list some interesting articles that talk about them:

  1. Ellipsis(...): 3 Uses of the Ellipsis in Python

  2. Asterisk(*): 5 Uses of Asterisks in Python

  3. Underscore(_): Four Usage Scenarios of Underscores in Python

Do you have any other interesting ideas about using punctuation in Python?

66 Upvotes

2 comments sorted by

0

u/[deleted] May 13 '21

[deleted]

2

u/Ordinary_Price_2189 May 14 '21

Read it with incognito tab😊