python asterisk operator code example
Example 1: * in python
>>> fruits = ['lemon', 'pear', 'watermelon', 'tomato']
>>> print(fruits[0], fruits[1], fruits[2], fruits[3])
lemon pear watermelon tomato
>>> print(*fruits)
lemon pear watermelon tomato
Example 2: how to use asterisk in python
quotient = 3 * 4
print(quotient) #Answer=12