I have a question where I want students to write out a collection of bit strings. The correct answer should be:
110, 101, 011
with those three strings occurring in any order. If the intended answer was
110, 101, 100
then I'm able to get this with the following pg-code:
Context()->strings->add(110 => {}, 101 => {}, 100 => {});
$strings = List(String(110), String(101), String(100));
And using `$strings` as the answer works great.
Something is strange with the answer checker or sting object. In fact, the answer that that is accepted where the string "011" should go is "9". What????
I don't think it matters, but I've authored this problem in PreTeXt.