# Coin tossing simulation 1的副本

- Author:
- Xuzhengming80970079, Zoltán Fehér

Two players are playing with a single coin. Player A wins 1 euro if the result of a coin-toss is

*head*, player B wins 1 euro if the random toss gives*tail*. Repeat the simulation several times. What is the result after n tosses?Is the number of heads and tails equal?
What is the relative frequency of heads?
What is the probability of tossing a head?