I am trying to select one of the 16 dictionaries that I have created, based on the value of 4 input variables.
I think it could be done with switch but so far I have not been able to get it.
I think the "logic" could be something similar to this:
variable_1 = 0
variable_2 = 1
variable_3 = 1
variable_4 = 0
def func_select_dict(variable_1, variable_2, variable_3, variable_4)
switch(0,0,0,0):
final_dictionary = dictionary_1
switch(0,0,0,1):
final_dictionary = dictionary_2
switch(0,0,1,0):
final_dictionary = dictionary_3
...............
switch(1,1,1,1):
final_dictionary = dictionary_16
Any idea?