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