Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
in Python, How would I go about creating a dictionary out of two lists using a while loop?
in Python, How would I go about creating a dictionary out of two lists using a while loop? I was able to do it with:
def create_dictionary(keys, values):
# Place code here - refer to function specifics in section below
dic = {}
y = 0
for x in list_keys:
dic[x]=list_values[y]
y = y + 1
return dic
but I need to do it with a while loop