Right now I am teaching a pre-algebra course and we are focusing on turning words into expressions. For things like the sum of 13 and twice x, I want to use self-checking to accept both 2x+13 and 13+2x. Right now I have it for only one answer using the following:
correct = input1.submitted and input1.latex = “13+2x”
any help would be greatly appreciated.