asterisk means? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

asterisk means?

10th Jul 2019, 1:21 PM
Khadarvali Shaik
Khadarvali Shaik - avatar
2 Answers
+ 6
Thanks to Google! This might help you 👇 https://goo.gl/search/asterisk+meaning+in+JUMP_LINK__&&__python__&&__JUMP_LINK Python Tutorial: Passing Arguments - Python course.eu 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. ... If the function is called without any arguments, the value of x is an empty tuple.
10th Jul 2019, 1:22 PM
KingDaniel2004
KingDaniel2004 - avatar
0
In Python * has atleast 5 meanings: Multiplication operator Exponentation operator Offers an useful way to split iterable values to separate variables. Offers a way for keyword argument passing. Offers a way to import all the names from a module without module namespace.
10th Jul 2019, 5:15 PM
Seb TheS
Seb TheS - avatar