Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.44 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.44 KB

Coin-Flip

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.

Description

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.

Getting Started

Dependencies

  • sys, random

Installing

  • No real install needed, just make sure you have the bash terminal updated
sudo apt update
sudo apt upgrade

Executing program

  • Run the program like any other common bash script.
python coin.py

Help

Common problems or issues are that you are not using an authorized user and need to switch to root.

sudo python coin.py

Authors

Contributors names and contact info

Christopher Hyatt (me)

Version History

License

This project is licensed under the [GNU Privacy v3] License - see the LICENSE.md file for details

Acknowledgments

Inspiration taken from a list of basic programs to make in any language that I have in a random text file of ideas.