Usage of Asterisks in Python
Posted by Armando Brito Mendes | Filed under linguagens de programação
Um tutorial sobre os vários usos do * no Python
Most of us use asterisks as multiplication and power operators, but they also have a wide range of operations being used as a prefix operator in Python. After reading this article, you will get to know the full usage of asterisks.
Asterisks have many particular use cases in Python. In general, we are familiar with the multiplication and power operators. It can perform some other operations like unpacking, arguments passing, etc.., in different situations. First, let’s see the general usage of asterisks.
Tags: Python
Comments are closed.