Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

args in python

def display(a,b,c):
    print("arg1:", a)
    print("arg2:", b)
    print("arg3:", c)

lst = [2,3]
display(1,*lst)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #args #python
ADD COMMENT
Topic
Name
8+6 =