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)
 
PREVIOUS NEXT
Tagged: #args #python
ADD COMMENT
Topic
Name
7+9 =