Top "Coin-flipping" questions

Coin flipping is the process of programmatically simulating a coin flip, that is randomly picking a choice among two possibilities.

Python code for the coin toss issues

I've been writing a program in python that simulates 100 coin tosses and gives the total number of tosses. The problem …

python random statistics coin-flipping
How do I simulate flip of biased coin in python?

In unbiased coin flip H or T occurs 50% of times. But I want to simulate coin which gives H with …

python random probability coin-flipping
How flipping a coin and display tails and heads counting?

I am very beginner on Java, still getting passion about. I have been given this exercise: "Write a simulator program …

java random coin-flipping
Flip a coin problem

I have been playing around and wrote this little piece of code. I am trying to flip a coin defined …

c# coin-flipping
Why are my if statements not working consistently?

I'm making a coin toss program for my c++ class and we are required to make a function that flips …

c++ if-statement coin-flipping
coin flip simulate in python

I want to simulate flipping a fair coin 500 times. Then I have to create a graph to show the running …

python simulate coin-flipping
Automate the boring stuff - Coin flip streaks

I know there's tons of questions about it by now, even for the same problem, but I think I tried …

python-3.x statistics coin-flipping
python define a variable in an if statement

I want to make a coin toss / dice roll in python but i cannot figure out how to define / change …

python variables if-statement coin-flipping
coin flip program problems, C programming

This is my program for making a coin flip simulator, this is for school so I have to use my …

c coin-flipping
I have some problems with a coin toss program

I am pretty new to java and using codehs, i need to find the amount and percentage of heads/ tails …

java coin-flipping