Pi: "unit circle" in the output message

This commit is contained in:
Brian S. Stephan 2012-12-18 20:12:26 -06:00
parent 7627af5d5b
commit f54e209c2f
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class Pi(Module):
finally: cur.close()
return self.reply(connection, event,
"({0:.10f}, {1:.10f}) is {2}within the circle. "\
"({0:.10f}, {1:.10f}) is {2}within the unit circle. "\
"pi is {5:.10f}. (i:{3:d} p:{4:d})".format(x, y,
"" if inside else "not ",
count_inside, count, pi))