freeCodeCamp/curriculum/challenges/english/07-scientific-computing-wit.../scientific-computing-with-p.../probability-calculator.md

42 lines
1.3 KiB
Markdown

---
id: 5e44414f903586ffb414c950
title: Probability Calculator
challengeType: 10
dashedName: probability-calculator
---
# --description--
Write a program to determine the approximate probability of drawing certain balls randomly from a hat.
You can access [the full project description and starter code on Replit](https://replit.com/github/freeCodeCamp/boilerplate-probability-calculator). After going to that link, fork the project. Once you complete the project based on the instructions in 'README.md', submit your project link below.
We are still developing the interactive instructional part of the Python curriculum. For now, here are some videos on the freeCodeCamp.org YouTube channel that will teach you everything you need to know to complete this project:
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python Video Course</a> (2 hours)
</li>
</ul>
# --hints--
It should correctly calculate probabilities and pass all tests.
```js
```
# --solutions--
```js
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/
```