Skip to content

🎲 Probability Calculator

Welcome to the Probability Calculator documentation.

This project provides an easy-to-use Python module for simulating the probability of drawing specific combinations of colored balls from a hat. It uses Monte‑Carlo simulation to estimate probabilities empirically.


πŸš€ Features

  • 🎩 Hat class to hold colored balls
  • πŸ”€ Random draws without replacement
  • πŸ“Š Monte‑Carlo probability estimation
  • πŸ§ͺ Fully customizable experiments
  • πŸ–₯️ Command Line Interface included
  • πŸ“š Complete documentation and examples

πŸ“¦ Installation

pip install .

πŸ“˜ What You Can Do

  • Simulate drawing balls from a hat
  • Estimate probability of pulling certain colors
  • Run thousands of experiments automatically
  • Use from Python or from the command line

πŸ“š Documentation Sections

  • Usage Guide β€” Learn how to use the Hat and experiment
  • API Reference β€” All classes and functions documented
  • CLI Guide β€” Run probability experiments from the terminal
  • Examples β€” Ready-to-run demonstrations

  • GitHub Repository: https://github.com/TheComputationalCore/Probability-Calculator
  • Online Documentation: https://thecomputationalcore.github.io/Probability-Calculator

Made with ❀️ by The Computational Core