Dictionaries
Basic way to zip together two lists into a dictionary:
Looping through a dictionary:
Also, you can call all keys with dict.keys()
and all values with dict.values()
Last updated
Basic way to zip together two lists into a dictionary:
Looping through a dictionary:
Also, you can call all keys with dict.keys()
and all values with dict.values()
Last updated