Skip to content

Commit

Permalink
python3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Post committed Jan 11, 2018
1 parent e0f236a commit 4d05dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mean
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ if os.path.basename(sys.argv[0]) == 'mean':

if args.v:
formatstr = "%%.%df / %d = %%.%df" % (args.precision, i + 1, args.precision)
print formatstr % (total, total / (i + 1))
print(formatstr % (total, total / (i + 1)))
else:
formatstr = "%%.%df" % args.precision
print formatstr % (total / (i + 1))
print(formatstr % (total / (i + 1)))

0 comments on commit 4d05dac

Please sign in to comment.