I have the following code
mydict = {
"key": {
"k1": "v1",
"k2": "v2",
}
}
for k, (v1, v2) in mydict.items():
v1
and v2
actaully equals to k1
and k2
, is there a way to extract v1
and v2
with any unpacking syntax?
I tried to search for unpacking syntax but found nothing