numbas / editor

An editor for the Numbas e-learning system.
http://numbas.mathcentre.ac.uk
Apache License 2.0
59 stars 62 forks source link

Mention the "except" operator in the "How do I..." page #622

Closed christianp closed 1 year ago

christianp commented 3 years ago

To generate a random non-zero, positive or negative number: random(-5..5 except 0).

andersshenholm commented 3 years ago

Hi Christian, I haven't contributed to Numbas before, but I'd love to try on this issue. I just want to check: is the idea to add this documentation under some subheader in the how-do-i.rst file? Thanks, Anders.

christianp commented 3 years ago

Thanks for offering! Yes, that's the idea.

christianp commented 1 year ago

Done in 35bacfd9698fb9239881bf68f52b880efaeaec2f