$system$/Questions for exportCombinator grader example returning imageWrite a Python3 function sqr(n) that returns the square of its numeric parameter n.
For those who don't know Python, one possible answer is:
def sqr(n):
return n * n
Copy that answer into the answer box and click Check to see how CodeRunner questions behave. Then try changing the answer in various ways and re-checking.
]]>1.00000000.00000000python3010, 10, 20, ...10570
FUN
And here's an image:
Followed by nothing.""".format(image_data, filename)
# Lastly return the JSON-encoded result required by a combinator grader
print(json.dumps({'prologuehtml': "