Functions with dropdown for j i list or variables

This is the code I made to the set Country Function
image

This is the output