keys, values)) # {'a': 2, 'c': 4, 'b': 3}
#make a function: def is the keyword for the function:
def to_dictionary(keys, values):
#return is the keyword that tells program that function has to return value
return dict(zip(keys, values))
# keys and values are the lists:
keys = ["a", "b", "c"]
values = [2, 3, 4]