Create a Python dictionary that returns a list of values for each key. The key can be whatever type you want.
Design the dictionary so that it could be useful for something meaningful to you. Create at least three different items in it.
capitalDict = dict()
capitalDict["France"] = "Paris"
capitalDict["Germany"] = "Berlin"
capitalDict["Italy"] = "Rome"
Comments
Leave a comment