Skip to content

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.

License

Notifications You must be signed in to change notification settings

codeslacker1155/Coin-Flip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages