how to convert into dictionary from tuple of keys and values python code example Example: tuple to dict t = (1, 2) d = dict([t])