If I have two dictionaries, and I want to assign it to another variable based on an outside input, would there be a more Pythonic way of doing it.
dict_one = {"id": 1, "content": "content of the first dict"}
dict_two = {"id": 2, "content": "content of the second dict"}
dict_three = {"id": 3, "content": "content of the third dict"}
#insert many more dicts....
outside_input = 1
if outside_input == 1:
result = dict_one
elif outside_input == 3:
result = dict_three