python list key string code example Example: python list key string myDict = {} myDict["john"] = "johns value" myDict["jeff"] = "jeffs value"