Hello:
I'm trying to ask WeBWorK to accept a list of strings as answers, with no luck. For example, I want a,b,c to be the answer, but I need the ability to combine two lists, like the following code.
It generates and error. Is there a way to do this?
Thanks!
Carl Yao
Context("Numeric");
Context()->variables->add(a=>'Real',b=>'Real',c=>'Real');
$d = Compute("a");
$l1 = List($d);
$e = Compute("b","c");
$l2 = List($e);
$l3 = $l1+$l2;
BEGIN_PGML
[___________]{$l3}
END_PGML