`if type(answers) not in [list, tuple]`

can `answers` be a set? Also can you pull this check outside of the `for choice in choices` loop? I don't understand why you would perform this check in each iteration.