Skip to content
Snippets Groups Projects
Unverified Commit 2a9d4b79 authored by Sarina Canelake's avatar Sarina Canelake Committed by GitHub
Browse files

Merge pull request #25719 from edx/sarina/demox-code-grader

Fix demoX grader print statements
parents 3426491d fa6ace33
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ for response in submission[0]:
if response[0] == 'ac':
for node in response[1:]:
ac_values = node['NodeA']
print "the ac analysis value:", ac_values
print("the ac analysis value:", ac_values)
if ac_values == None:
correct = ['incorrect']
elif ac_values[0][1] < ac_values[1][1]:
......
......@@ -73,7 +73,7 @@ while abs(balance) > .02:
# When the while loop terminates, we know we have
# our answer!
print "Lowest Payment:", round(payment, 2)
print("Lowest Payment:", round(payment, 2))
</answer_display>
<grader_payload>
{"grader": "ps02/bisect/grade_bisect.py"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment