Skip to content

hemmendinger/coinflip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Coinflip

Coinflip generator

Prints formatted results to standard output.

Usage:

-h, --help

--coinflips NUM, -n NUM
where NUM is the number of flips

default with no options is a single flip

optimization: using random.randint(0,1) to generate 0's and 1's representing heads or tails is much slower than evaluation of random.random() floats

Works with Python2

About

coinflip generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages