Input can be up to (but not always) 20 values between 1-99 separated by 'or' that need to be associated with a string. User input will supply both the value and the "label" that should replace that value in a print-to-text-file output. I also can ask the user for the number of values they supply.
For example: User input:
1 or 2 or 10 or 60
Quantity input:
4
Label input:
Today, Two Days, One Month, One Year
Clarification: the input values do not correspond mathematically to the label string itself and are abstract.
{'1': 'Today', '2': 'Two Days', '10': 'One Month', '60': 'One Year'}
How can I account for user supplied keys and an unknown quantity of pairs?