This is wonderful, thanks so much Davide! Some of the mistakes I had left in my code were from my various attempts- thanks for fixing/removing them.
Your answer and explanation has really helped- thanks so much.
Chris
WeBWorK Problems
Reducing fractions in a list of assignments
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day