Self-check with pi in answer

Hi everyone! I’m trying to get one of my assignments to self-check student answers when converting degrees to radians in a table. The self check isn’t working because the answers have “pi”, and even though students can type this in, I’m assuming it’s ‘grading’ incorrectly since the answer is irrational.

Here’s my assignment so far: 6B.2 Converting Between Degrees & Radians • Activity by Malory Smith

You can see the code I normally use on slide 3. I know it’s not working because the answers aren’t exact, so how can I change the code to work??

There are a few strategies to use here, but approaches may depend on what you’d like to accept as correct answers. Do you want them in terms of pi? If so, as a single reduced rational? Would you also accept a decimal equivalent? So, for the first cell, pi/6only? Or 30pi/180? Or 1/6 pi? Or 0.524?