>>> d = dict(zip(['a', 'b'], [1, 2]))
>>> d
{'a': 1, 'b': 2}
>>> d = dict(zip('a', 'b'))
>>> d
{'a': 'b'}
>>> st1 = 'abcdefg'
>>> st2 = '1234567'
>>> d = dict(zip(st1, st2))
>>> d
{'a': '1', 'b': '2', 'c': '3', 'd': '4', 'e': '5', 'f': '6', 'g': '7'}
>>> st2 = '123456'
>>> d = dict(zip(st1, st2))
>>> d
{'a': '1', 'b': '2', 'c': '3', 'd': '4', 'e': '5', 'f': '6'}
>>> st1 = 'abc'
>>> d = dict(zip(st1, st2))
>>> d
{'a': '1', 'b': '2', 'c': '3'}
>>>