Home / Python Tips Generated By ChatGPT / Dictionaries for Key-Value Pairs in Python Store and access data as key-value pairs. Source Code person = {"name": "John", "age": 30} print(person["name"])