This is a simple python script that simulates flipping a single coin however many times the user decides. The code records the outcomes and count the number of tails and heads.
This is a simple python script that simulates flipping a single coin however many times the user decides. The code records the outcomes and count the number of tails and heads. The program is a static command line program that shows the user in a visual fashion their %50 probability to either get heads or tails.
- sys, random
- No real install needed, just make sure you have the bash terminal updated
sudo apt update
sudo apt upgrade
- Run the program like any other common bash script.
python coin.py
Common problems or issues are that you are not using an authorized user and need to switch to root.
sudo python coin.py
Contributors names and contact info
Christopher Hyatt (me)
- 0.2
- Various bug fixes and optimizations
- See commit change or See release history
- 0.1
- Initial Release
This project is licensed under the [GNU Privacy v3] License - see the LICENSE.md file for details
Inspiration taken from a list of basic programs to make in any language that I have in a random text file of ideas.