Sage in WeBWorK

From WeBWorK_wiki
Revision as of 16:20, 30 December 2011 by Travis (talk | contribs)
Jump to navigation Jump to search


To pass perl variables to the sage block if you need to from the problem initialization use:

TEXT(<<EOF);

where <<EOF allows interpolation

otherwise use:

TEXT(<<'EOF');

where 'EOF' tells perl not to interpolate variables

15:17aubreyja_yes