Efficient way to loop through variables with number patterns in Python and append to a list?
Efficient way to loop through variables with number patterns in Python and append to a list? Question: so my variables are these: answer1, answer2, answer3, answer4, …, answer20 and I want to append all of them to a list in order. is there a neat way to do this? I can just use extend and …