+ 1

What does asterisk means in python

What is exponentiation

19th Jul 2020, 1:29 PM
Varun Shirodkar
6 odpowiedzi
+ 6
The asterisk "*" is used in Python to define a variable number of arguments. The asterisk character has to precede a variable identifier in the parameter list. https://www.python-course.eu/python3_passing_arguments.php#:~:text=The%20asterisk%20%22*%22%20is%20used,identifier%20in%20the%20parameter%20list.&text=If%20the%20function%20is%20called,x%20is%20an%20empty%20tuple.
19th Jul 2020, 1:33 PM
Mantafounis Panagiotis
Mantafounis Panagiotis - avatar
19th Jul 2020, 1:35 PM
Tomiwa Joseph
Tomiwa Joseph - avatar
+ 1
Oh! I thought as much. 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 the tag even said numeric operations (numbers).
19th Jul 2020, 2:04 PM
Tomiwa Joseph
Tomiwa Joseph - avatar
+ 1
It means multiplication if it's single, and rise to the power if it's double.
31st Dec 2020, 7:51 PM
Osman Mohammed
Osman Mohammed - avatar
0
What is exponentiation
20th Jul 2020, 9:02 AM
Varun Shirodkar
0
Thanks very much
20th Jul 2020, 9:31 AM
Varun Shirodkar