Skip to content

A python script to demonstrate the statistic of the classic birthday problem.

Notifications You must be signed in to change notification settings

jennyfar/Birthday-Problem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This python script simulates the Birthday Problem experiment. 

You can enter how many people you'd like to simulate and how many times you'd like to simulate it. 

This script also provides a percent of error based on the formula expected for the problem, found here: https://en.wikipedia.org/wiki/Birthday_problem

8/13  Changed this script to no longer require interactive input.  Also made Python 3 compatible.  Finally, results are now output in a JSON blob.

About

A python script to demonstrate the statistic of the classic birthday problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%