0
asterisk means?
2 odpowiedzi
+ 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.
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.