Skip to content

Commit

Permalink
Merge pull request #29 from edx/kdmccormick/print-py3-lilac
Browse files Browse the repository at this point in the history
fix: update print statements to python3 syntax (#28)
  • Loading branch information
nedbat committed May 19, 2021
2 parents b555574 + e45d4ac commit 5d219bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion problem/python_grader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down
2 changes: 1 addition & 1 deletion static/VGL/make
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def fix(fn, root, url):
new = re.sub('i4x://MITx/7.00x/problem',inputs[root], new)

open('%s/%s' % (root, os.path.basename(fn)),'w').write(new)
print "Processed %s (%s:%s)" % (fn, root, url)
print("Processed %s (%s:%s)" % (fn, root, url))

for root, url in roots.items():
for fn in glob.glob('original/*.jnlp'):
Expand Down

0 comments on commit 5d219bf

Please sign in to comment.