human
Get the indexes of truthy elements of a boolean list as a list/tuple
assistant
Here is some code to get indexes of all true boolean values from a list `bool_list`

[i for i, elem in enumerate(bool_list, 1) if elem]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.