Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

unpack dictionaryp

 
d = {'k1':10, 'k2':20, 'k3':30}
def fun(k1,k2,k3):
    print(k1,k2,k3)
fun(**d)    
 
Source by java2blog.com #
 
PREVIOUS NEXT
Tagged: #unpack #dictionaryp
ADD COMMENT
Topic
Name
8+9 =