Im trying to turn a list into a dictionary. so say i have a list like:
list = [1,2,3,4,5]
and i want my dictionary to be:
dict = {1:2,3,4,5}
is there anyway to do this?
Im trying to turn a list into a dictionary. so say i have a list like:
list = [1,2,3,4,5]
and i want my dictionary to be:
dict = {1:2,3,4,5}
is there anyway to do this?