Usage **args people = { "Carter": "+1-617-495-1000", "David": "+1-949-468-2750" } name = get_string("Name: ") if name in people: number = people[name] # index by first map print(f"Number: {number}") my_dict = {"Name":[],"Address":[],"Age":[]}; my_dict["Name"].append("Guru") my_dict["Address"].append("Mumbai") my_dict["Age"].append(30) print(my_dict) {'Name': ['Guru'], 'Address': ['Mumbai'], 'Age': [30]}