When defining a question of type 'list', the 'choices' key takes a list of all possible choices. These choices are printed to screen as strings which the user will then select from. What would be the reccommended approach to associate additional information with each of these choices.. for example a primary key integer relating to a database entry ?
When defining a question of type 'list', the 'choices' key takes a list of all possible choices. These choices are printed to screen as strings which the user will then select from. What would be the reccommended approach to associate additional information with each of these choices.. for example a primary key integer relating to a database entry ?