1>>> keys = ['a', 'b', 'c']
2>>> values = [1, 2, 3]
3>>> dictionary = dict(zip(keys, values))
4>>> print(dictionary)
5{'a': 1, 'b': 2, 'c': 3}
1#initialize lists
2
3key_list = ['red', 'green', 'blue']
4value_list = [1, 2, 3]
5
6#convert lists
7
8my_dict = {}
9for key in key_list:
10 for value in value_list:
11 my_dict[key] = value
12 value_list.remove(value)
13 break
14print(my_dict)
15