Using Look Up Tables in Python

Since we are not given any further information about what ranges should be associated with which values, I assume you will transfer my answer to your own problem. Look-up-Tables are called dictionary in python. They are indicated by curly brackets. Easy example: Here you create a dictionary with three entries: 1, 2, 3. Each of … Read more