Assume you have two lists named list1 and list2 that are of the same length. Create a dictionary in which the elements of list1 are the keys and the elements of list2 are the values. For example, the dictionary will have:an element in which list1[0] is the key and list2[0] is the value,an element in which list1[1] is the key and list2[1] is the value, and so on.