`textinputs = [self._create_textinput_element(answer=answer) for answer in answers` 

Much cleaner than what you have (initalizing a list, then performing a for loop that is one line). Also prefer you name the kwarg rather than just saying `**answer`