Fixed formatting.

This commit is contained in:
Fletcher Boyd 2013-09-04 18:30:04 +08:00
parent 146ae3c279
commit 4069dd21a3
89 changed files with 615 additions and 496 deletions

View file

@ -4,7 +4,7 @@ import random
@hook.command(autohelp=False)
def coin(inp, me=None):
"coin [amount] -- Flips [amount] of coins."
"""coin [amount] -- Flips [amount] of coins."""
if inp:
try:
@ -21,5 +21,5 @@ def coin(inp, me=None):
else:
heads = int(random.normalvariate(.5 * amount, (.75 * amount) ** .5))
tails = amount - heads
me("flips %i coins and gets " \
"%i heads and %i tails." % (amount, heads, tails))
me("flips %i coins and gets "
"%i heads and %i tails." % (amount, heads, tails))