3 lines
98 B
Python
3 lines
98 B
Python
keys = ['a', 'b', 'c']
|
|
values = [1, 2, 3]
|
|
hash = {key: value for key, value in zip(keys, values)}
|