Files

43 lines
1.3 KiB
Markdown
Raw Normal View History

---
id: 5e44414f903586ffb414c950
title: 概率計算器
challengeType: 10
forumTopicId: 462364
dashedName: probability-calculator
---
# --description--
寫一個程序來確定從帽子中隨機拿取特定球的大致概率。
你可以在 [Replit](https://replit.com/github/freeCodeCamp/boilerplate-probability-calculator) 上查看整個項目的具體描述和初始代碼。 訪問此鏈接後fork 這個項目。 當你根據 “README.md” 中的說明完成了項目,請在下方提交你的項目鏈接。
我們仍在開發 Python 課程的交互式教學部分。 目前freeCodeCamp.org YouTube 頻道上的一些視頻將會教授你這個項目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody 視頻課程</a>14 小時)
</li>
<li>
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 視頻課程</a>2 小時)
</li>
</ul>
# --hints--
它應該能正確地計算概率並通過所有測試。
```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.
*/
```