![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 06.03.2021 01:00 levilugar
Write a program called “Probability Program” that will be used to simulate flipping a coin. Your program should include the following functions:
flipcoin()- a function that uses random and will either return “heads” or “tails”.
simulation(numTimes) - a function that will return a list that consists of either heads or tails, using the parameter “numTimes” to determine how many times the function should use the flipcoin() method from above.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00, najerajulio
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:00, addisonrausch
What season was better from fortnite?
Answers: 2
![image](/tpl/images/cats/informatica.png)
You know the right answer?
Write a program called “Probability Program” that will be used to simulate flipping a coin. Your pro...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/istoriya.png)
History, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01
![Konu](/tpl/images/cats/mat.png)
Mathematics, 17.09.2020 18:01