+ 2
Can value of iterables be used as kwargs ?
def func(**kwargs): print(kwargs) for i in ['abc','xyz']: for j in i: fun(j,i) //it should print {'a':abc,'x':xyz} // but it is printing simply {'j':i} ????? can somebody make me clear??
1 Odpowiedź
+ 2
This might do what your looking for
https://code.sololearn.com/c1qhO59pMmCx