Skip to content

Commit

Permalink
fix: update print statements to python3 syntax (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed May 19, 2021
1 parent b555574 commit 5c3981e
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 5c3981e

Please sign in to comment.