Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

more args python

def functionName(*arguments):
  for item in arguments:
	...

""" 
The * symbol is used to pass a variable number of arguments to a function. 
Typically, this syntax is used to avoid the code failing when we don’t 
know how many arguments will be sent to the function.
""" 

# https://www.geeksforgeeks.org
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #args #python
ADD COMMENT
Topic
Name
4+5 =