我怎样才能像这样转换元组:
( ('a', 1), ('b', 2) )
dict:
{ 'a': 1, 'b': 2 }
python dictionary tuples
dictionary ×1
python ×1
tuples ×1