Skip to content

Commit

Permalink
Adding doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgift committed Jun 3, 2012
1 parent c136d89 commit d98a8cc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions coin_flip.py
@@ -1,3 +1,16 @@
"""
This is a coin flip game with the following rules:
Whenever heads or tails becomes 3 flips ahead of the other side,
the winner is paid out 8 dollars. For each flip though, a dollar
will be substracted.
You can run the simulation N times by doing the following:
python coin_flip.py 10
"""

import random
import sys
import math
Expand Down

0 comments on commit d98a8cc

Please sign in to comment.