I’m trying to have this answer marked as correct:

This is the cl that I have. Can anyone find my mistake? I’ve tried it with and without the second \ but neither marks it as correct.

correct = input2.submitted and input2.latex = “y=\frac{1}{3}*{3^{x}}” correct: correct

It worked when I did this instead. correct = input2.submitted and input2.latex = ‘y=\frac{1}{3}*{3^{x}}’

That fixed it for me, too! Thank you so much for your help!

Here’s a template using the pattern library that you can use. The problem with matching latex is that the students have to enter it exactly. So that would mark y=1/3(3^x) incorrect, for example.

Awesome - Thank you!