chore(i18n,curriculum): processed translations (#42721)

This commit is contained in:
camperbot
2021-07-02 18:45:29 +05:30
committed by GitHub
parent 4be8a6f224
commit 84044e9cc2
70 changed files with 431 additions and 421 deletions

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f063
title: Files as a Sequence
title: 文件作为序列
challengeType: 11
videoId: cIA0EokbaHE
dashedName: files-as-a-sequence
@ -8,31 +8,31 @@ dashedName: files-as-a-sequence
# --description--
More resources:
更多资源:
\- [Exercise](https://www.youtube.com/watch?v=il1j4wkte2E)
\- [练习](https://www.youtube.com/watch?v=il1j4wkte2E)
# --question--
## --text--
What does the word 'continue' do in the middle of a loop?
“continue”这个词在循环中间起到什么作用
## --answers--
Skips to the code directly after the loop.
循环后直接跳转到代码。
---
Skips to the next line in the code.
跳到代码的下一行。
---
Skips to the next iteration of the loop.
跳到循环的下一个迭代。
---
Skips the next block of code.
跳过下一个代码块。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f057
title: Intermediate Expressions
title: 中间表达式
challengeType: 11
videoId: dKgUaIa5ATg
dashedName: intermediate-expressions
@ -8,17 +8,17 @@ dashedName: intermediate-expressions
# --description--
More resources:
更多资源:
\- [Exercise 1](https://youtu.be/t_4DPwsaGDY)
\- [练习 1](https://youtu.be/t_4DPwsaGDY)
\- [Exercise 2](https://youtu.be/wgkC8SxraAQ)
\- [练习 2](https://youtu.be/wgkC8SxraAQ)
# --question--
## --text--
What will print out after running this code:
这些代码运作之后会打印出什么:
```python
width = 15

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f075
title: 'Networking: Using urllib in Python'
title: '网络:在 Python 中使用 urllib'
challengeType: 11
videoId: 7lFM1T_CxBs
dashedName: networking-using-urllib-in-python
@ -10,7 +10,7 @@ dashedName: networking-using-urllib-in-python
## --text--
What will the output of the following code be like?:
以下代码的输出将是什么样的?
```python
import urllib.request
@ -21,15 +21,15 @@ for line in fhand:
## --answers--
Just contents of "romeo.txt".
只有 “romeo.txt” 的内容。
---
A header and the contents of "romeo.txt".
“romeo.txt” 的 header 和内容。
---
A header, a footer, and the contents of "romeo.txt".
“romeo.txt” 的 headerfooter 和内容。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0d0b6c005b0e76f076
title: 'Networking: Web Scraping with Python'
title: '网络:使用 Python 进行 Web 爬取'
challengeType: 11
videoId: Uyioq2q4cEg
dashedName: networking-web-scraping-with-python
@ -8,19 +8,19 @@ dashedName: networking-web-scraping-with-python
# --description--
More resources:
更多资料:
\- [Exercise: socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [练习:socket1](https://www.youtube.com/watch?v=dWLdI143W-g)
\- [Exercise: urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [练习:urllib](https://www.youtube.com/watch?v=8yis2DvbBkI)
\- [Exercise: urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
\- [练习:urllinks](https://www.youtube.com/watch?v=g9flPDG9nnY)
# --question--
## --text--
What Python library is used for parsing HTML documents and extracting data from HTML documents?
哪个 Python 库是用于解析 HTML 文档并从中提取数据?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0c0b6c005b0e76f071
title: Networking with Python
title: Python 联网
challengeType: 11
videoId: _kJvneKVdNM
dashedName: networking-with-python
@ -10,7 +10,7 @@ dashedName: networking-with-python
## --text--
What Python library gives access to TCP Sockets?
哪个 Python 库提供对 TCP 套接字的访问?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f086
title: 'Objects: A Sample Class'
title: '对象:一个示例类'
challengeType: 11
videoId: FiABKEuaSJ8
dashedName: objects-a-sample-class
@ -10,7 +10,7 @@ dashedName: objects-a-sample-class
## --text--
What will the following program print?:
以下程序将打印什么?
```python
class PartyAnimal:

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f170b6c005b0e76f088
title: 'Objects: Inheritance'
title: '对象:继承'
challengeType: 11
videoId: FBL3alYrxRM
dashedName: objects-inheritance
@ -10,23 +10,23 @@ dashedName: objects-inheritance
## --text--
What is inheritance in object-oriented programming?
面向对象编程中的继承是指什么?
## --answers--
A new class created when a parent class is extended.
扩展父类时创建的新类。
---
A constructed instance of a class.
类的构造实例。
---
The ability to create a new class by extending an existing class.
通过扩展现有类来创建新类的能力。
---
A method that is called at the moment when a class is being used to construct an object.
在使用类构造对象时调用的方法。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f067
title: Python Dictionaries
title: Python 字典
challengeType: 11
videoId: dnzvfimrRMg
dashedName: python-dictionaries
@ -10,7 +10,7 @@ dashedName: python-dictionaries
## --text--
What does dict equal after running this code?:
当这些代码运行之后dict 等于什么?
```python
dict = {"Fri": 20, "Thu": 6, "Sat": 1}

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f060b6c005b0e76f05a
title: Python Functions
title: Python 函数
challengeType: 11
videoId: 3JGF-n3tDPU
dashedName: python-functions
@ -10,27 +10,27 @@ dashedName: python-functions
## --text--
What is the purpose of the "def" keyword in Python?
在 Python 中,关键词 “def” 有什么作用?
## --answers--
It is slang that means "The following code is really cool."
这是一个俚语,代表“这些代码真的酷毙了”。
---
It indicates the start of a function.
它表示一个函数的开始。
---
It indicates that the following indented section of code is to be stored for later.
它表示以下的缩进代码段将被储存起来以后再用。
---
It indicates the start of a function, and the following indented section of code is to be stored for later.
它代表一个函数的开始,然后接下来的代码会被储存到以后使用。
---
None of the above.
以上全都不对。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f080b6c005b0e76f064
title: Python Lists
title: Python 列表
challengeType: 11
videoId: Y0cvfDpYC_c
dashedName: python-lists
@ -10,7 +10,7 @@ dashedName: python-lists
## --text--
What is the value of x after running this code:
在这些代码运行后x 的值是什么?
```python
fruit = "banana"

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f160b6c005b0e76f085
title: Python Objects
title: Python 对象
challengeType: 11
videoId: uJxGeTYy0us
dashedName: python-objects
@ -10,23 +10,23 @@ dashedName: python-objects
## --text--
Which is NOT true about objects in Python?
关于 Python 对象的说法,哪一个是不正确的?
## --answers--
Objects get created and used.
对象被创建和使用
---
Objects are bits of code and data.
对象是代码和数据的一部分
---
Objects hide detail.
对象隐藏细节
---
Objects are one of the five standard data types.
对象是五个标准数据类型之一
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06f
title: 'Regular Expressions: Matching and Extracting Data'
title: '正则表达式:匹配和提取数据'
challengeType: 11
videoId: LaCZnTbQGkE
dashedName: regular-expressions-matching-and-extracting-data
@ -10,7 +10,7 @@ dashedName: regular-expressions-matching-and-extracting-data
## --text--
What will the following program print?:
该程序会打印出什么?
```python
import re

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f070
title: 'Regular Expressions: Practical Applications'
title: '正则表达式: 实用应用'
challengeType: 11
videoId: xCjFU9G6x48
dashedName: regular-expressions-practical-applications
@ -10,7 +10,7 @@ dashedName: regular-expressions-practical-applications
## --text--
What will search for a "$" in a regular expression?
在正则表达式中,怎么搜索一个 “$” 符号?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0b0b6c005b0e76f06e
title: Regular Expressions
title: 正则表达式
challengeType: 11
videoId: Yud_COr6pZo
dashedName: regular-expressions
@ -10,7 +10,7 @@ dashedName: regular-expressions
## --text--
Which regex matches only a white space character?
哪一个正则表达式匹配只有一个空白字符?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08f
title: 'Relational Databases: Join Operation'
title: '关系数据库:联接操作'
challengeType: 11
videoId: jvDw3D9GKac
dashedName: relational-databases-join-operation
@ -10,19 +10,19 @@ dashedName: relational-databases-join-operation
## --text--
When using a JOIN clause in an SQL statement, what does ON do?
在 SQL 语句中使用 JOIN 子句时ON 的作用是什么?
## --answers--
It indicates what tables to perform the JOIN on.
它指示在哪些表上执行 JOIN
---
It specifies the fields to use for the JOIN.
它指定用于 JOIN 的字段。
---
It indicates how the two tables are to be joined.
它指示如何将两个表连接在一起。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f190b6c005b0e76f090
title: 'Relational Databases: Many-to-many Relationships'
title: '关系型数据库:多对多关系'
challengeType: 11
videoId: z-SBYcvEQOc
dashedName: relational-databases-many-to-many-relationships
@ -8,39 +8,39 @@ dashedName: relational-databases-many-to-many-relationships
# --description--
More resources:
更多资料:
\- [Exercise: Email](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [练习:电子邮件](https://www.youtube.com/watch?v=uQ3Qv1z_Vao)
\- [Exercise: Roster](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [练习:名册](https://www.youtube.com/watch?v=qEkUEAz8j3o)
\- [Exercise: Tracks](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [练习:曲目](https://www.youtube.com/watch?v=I-E7avcPeSE)
\- [Exercise: Twfriends](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [练习:推特好友](https://www.youtube.com/watch?v=RZRAoBFIH6A)
\- [Exercise: Twspider](https://www.youtube.com/watch?v=xBaJddvJL4A)
\- [练习:推特爬虫](https://www.youtube.com/watch?v=xBaJddvJL4A)
# --question--
## --text--
Which is an example of a many-to-many relationship?
哪个是多对多关系的示例?
## --answers--
teacher to student
老师与学生
---
customer to order
客户与订单
---
book to pages
书与内页
---
city to country
城市与国家
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f180b6c005b0e76f08e
title: 'Relational Databases: Relationship Building'
title: '关系型数据库:关系的建立'
challengeType: 11
videoId: CSbqczsHVnc
dashedName: relational-databases-relationship-building
@ -10,19 +10,19 @@ dashedName: relational-databases-relationship-building
## --text--
What does the INSERT command do in SQL?
INSERT 命令在 SQL 中的作用是什么?
## --answers--
It defines a new row by listing the fields we want to include followed by the values we want placed in the new row.
它定义新行,通过列出我们要包括的字段,然后列出要放入新行中的值。
---
It defines a new column by listing the rows we want to include followed by the values we want placed in the new column.
它定义新列,通过列出要包含的行以及要放入新列中的值。
---
It defines a new table by listing the rows and fields we want to include followed by the values that we want placed in the table.
它定义一个新表,通过列出要包括的行和字段以及要放入表中的值。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f090b6c005b0e76f066
title: Strings and Lists
title: 字符串和列表
challengeType: 11
videoId: lxcFa7ldCi0
dashedName: strings-and-lists
@ -8,15 +8,15 @@ dashedName: strings-and-lists
# --description--
More resources:
更多资源:
\- [Exercise](https://www.youtube.com/watch?v=-9TfJF2dwHI)
\- [练习](https://www.youtube.com/watch?v=-9TfJF2dwHI)
# --question--
## --text--
What does n equal in this code?
在这个代码中n 等于什么?
```python
words = 'His e-mail is q-lar@freecodecamp.org'
@ -27,7 +27,7 @@ n = parts[1]
## --answers--
mail
邮件
---

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f070b6c005b0e76f060
title: Strings in Python
title: Python 字符串
challengeType: 11
videoId: LYZj207fKpQ
dashedName: strings-in-python
@ -10,7 +10,7 @@ dashedName: strings-in-python
## --text--
What will the following code print?:
这些代码会打印出什么?
```python
for n in "banana":

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0a0b6c005b0e76f06c
title: The Tuples Collection
title: 元组集合
challengeType: 11
videoId: 3Lxpladfh2k
dashedName: the-tuples-collection
@ -10,7 +10,7 @@ dashedName: the-tuples-collection
## --text--
What will the following code print?:
这些代码会打印出什么?
```python
d = dict()

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07a
title: Using Web Services
title: 使用网络服务
challengeType: 11
videoId: oNl1OVDPGKE
dashedName: using-web-services
@ -10,27 +10,27 @@ dashedName: using-web-services
## --text--
What are the two most common ways to send data over the internet?
通过互联网发送数据的两种最常见的方法是什么?
## --answers--
JSON and TXT
JSON TXT
---
JSON and XML
JSON XML
---
XML and TXT
XML TXT
---
XML and PHP
XML PHP
---
PHP and TXT
PHP TXT
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f050b6c005b0e76f056
title: 'Variables, Expressions, and Statements'
title: '变量、表达式和语句'
challengeType: 11
videoId: nELR-uyyrok
dashedName: variables-expressions-and-statements
@ -10,7 +10,7 @@ dashedName: variables-expressions-and-statements
## --text--
What is the symbol used in an assignment statement?
赋值语句中使用的符号是什么?
## --answers--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f080
title: 'Web Services: API Rate Limiting and Security'
title: 'Web 服务API 速率限制和安全性'
challengeType: 11
videoId: pI-g0lI8ngs
dashedName: web-services-api-rate-limiting-and-security
@ -8,37 +8,37 @@ dashedName: web-services-api-rate-limiting-and-security
# --description--
More resources:
更多资料:
\- [Exercise: GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [练习:GeoJSON](https://www.youtube.com/watch?v=TJGJN0T8tak)
\- [Exercise: JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [练习:JSON](https://www.youtube.com/watch?v=vTmw5RtfGMY)
\- [Exercise: Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [练习:Twitter](https://www.youtube.com/watch?v=2c7YwhvpCro)
\- [Exercise: XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
\- [练习:XML](https://www.youtube.com/watch?v=AopYOlDa-vY)
# --question--
## --text--
When making a request from the Twitter API, what information must always be sent with the request?
当 Twitter API 发出请求时,必须始终随请求一起发送什么信息?
## --answers--
Twitter username
Twitter 用户名
---
date range
日期范围
---
search term
搜索词
---
key
密钥
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f150b6c005b0e76f07f
title: 'Web Services: APIs'
title: 'Web 服务:API'
challengeType: 11
videoId: oUNn1psfBJg
dashedName: web-services-apis
@ -10,23 +10,23 @@ dashedName: web-services-apis
## --text--
What does API stand for?
API 的全称是什么?
## --answers--
Application Portable Intelligence
应用便携式智能(Application Portable Intelligence
---
Associate Programming International
国际助理编程(Associate Programming International
---
Application Program Interface
应用程序接口(Application Program Interface
---
Action Portable Interface
动作便携式接口(Action Portable Interface
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f140b6c005b0e76f07e
title: 'Web Services: Service Oriented Approach'
title: 'Web 服务:面向服务的方法'
challengeType: 11
videoId: muerlsCHExI
dashedName: web-services-service-oriented-approach
@ -10,19 +10,19 @@ dashedName: web-services-service-oriented-approach
## --text--
With a services oriented approach to developing web apps, where is the data located?
用面向服务的方法来开发网络应用,数据位于何处?
## --answers--
Spread across many computer systems connected via the internet or internal network.
分布在许多通过互联网或内部网络连接的计算机系统上。
---
Within different services on the main web server.
在主 Web 服务器上的不同服务中。
---
On a separate database server.
在单独的数据库服务器上。
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07c
title: 'Web Services: XML Schema'
title: 'Web 服务XML 模式'
challengeType: 11
videoId: yWU9kTxW-nc
dashedName: web-services-xml-schema
@ -10,19 +10,19 @@ dashedName: web-services-xml-schema
## --text--
What is XSD?
什么是 XSD
## --answers--
The W3C Schema specification for XML.
XML 的 W3C 模式规范。
---
The standard JSON schema from MOZ.
来自 MOZ 的标准 JSON 模式。
---
Extensible Situational Driver
可扩展情境驱动程序
## --video-solution--

View File

@ -1,6 +1,6 @@
---
id: 5e7b9f0e0b6c005b0e76f07b
title: 'Web Services: XML'
title: 'Web 服务:XML'
challengeType: 11
videoId: _pZ0srbg7So
dashedName: web-services-xml
@ -10,7 +10,7 @@ dashedName: web-services-xml
## --text--
What is wrong with the following XML?:
以下 XML 有什么问题?
```xml
<person>
@ -23,19 +23,19 @@ What is wrong with the following XML?:
## --answers--
Email tag is missing closing tag.
Email 标签缺少结束标签。
---
Spacing will cause XML to be invalid.
间距将导致 XML 无效。
---
Phone tag is missing closing tag.
Phone 标签缺少结束标签。
---
Plain text should be encoded using UTF-8.
纯文本应使用 UTF-8 编码。
## --video-solution--

View File

@ -1,31 +1,32 @@
---
id: 5e44412c903586ffb414c94c
title: Arithmetic Formatter
title: 算术格式化
challengeType: 10
forumTopicId: 462359
dashedName: arithmetic-formatter
---
# --description--
Create a function that receives a list of strings that are arithmetic problems and returns the problems arranged vertically and side-by-side.
创建一个函数,该函数接收属一个字符串列表,每个字符串代表一个算数问题,并返回垂直并排排列的问题。
You can access [the full project description and starter code on Repl.it](https://repl.it/github/freeCodeCamp/boilerplate-arithmetic-formatter).
你可以[ Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-arithmetic-formatter)
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.
访问此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
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:
我们仍在开发 Python 课程的交互式教学部分。 目前freeCodeCamp.org YouTube 频道上的一些视频会教授你这个项目需要的所有技能。
<ul> <li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<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 Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>学习 Python 视频课程</a>2 小时)
</li>
<ul>
# --hints--
It should correctly format an arithmetic problem and pass all tests.
它应该正确地格式化算术问题并通过所有测试。
```js

View File

@ -1,32 +1,33 @@
---
id: 5e44413e903586ffb414c94e
title: Budget App
title: 预算应用
challengeType: 10
forumTopicId: 462361
dashedName: budget-app
---
# --description--
Create a "Category" class that can be used to create different budget categories.
创建一个 Category类别 类,该类可用于创建不同的预算类别。
You can access [the full project description and starter code on Repl.it](https://repl.it/github/freeCodeCamp/boilerplate-budget-app).
你可以[ Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-budget-app)
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.
访问此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
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:
我们仍在开发 Python 课程的交互式教学部分。 目前freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<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 Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>2 小时)
</li>
</ul>
# --hints--
It should create a Category class and pass all tests.
它应该创建一个 Category 类并通过所有测试。
```js

View File

@ -1,32 +1,33 @@
---
id: 5e444147903586ffb414c94f
title: Polygon Area Calculator
title: 多边形面积计算器
challengeType: 10
forumTopicId: 462363
dashedName: polygon-area-calculator
---
# --description--
In this project you will use object oriented programming to create a Rectangle class and a Square class. The Square class should be a subclass of Rectangle and inherit methods and attributes.
在这个项目中,你将使用面向对象的编程来创建 Rectangle矩形 类和 Square正方形 类。 Square 类应该是 Rectangle 的子类,并继承方法和属性。
You can access [the full project description and starter code on Repl.it](https://repl.it/github/freeCodeCamp/boilerplate-polygon-area-calculator).
你可以[ Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-polygon-area-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.
到达此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
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:
Python 课程的交互式教学部分仍在开发当中。 目前freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<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 Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>2 小时)
</li>
</ul>
# --hints--
It should create a Rectangle class and Square class and pass all tests.
它应该创建一个 Rectangle 类和 Square 类并通过所有测试。
```js

View File

@ -1,30 +1,31 @@
---
id: 5e44414f903586ffb414c950
title: Probability Calculator
title: 概率计算器
challengeType: 10
forumTopicId: 462364
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 Repl.it](https://repl.it/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.
你可以在 [Replit](https://replit.com/github/freeCodeCamp/boilerplate-probability-calculator) 上查看整个项目的具体描述和初始代码。 访问此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
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:
我们仍在开发 Python 课程的交互式教学部分。 目前freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<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 Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>2 小时)
</li>
</ul>
# --hints--
It should correctly calculate probabilities and pass all tests.
它应该能正确地计算概率并通过所有测试。
```js

View File

@ -1,30 +1,31 @@
---
id: 5e444136903586ffb414c94d
title: Time Calculator
title: 时间计算器
challengeType: 10
forumTopicId: 462360
dashedName: time-calculator
---
# --description--
Write a function named "add_time" that can add a duration to a start time and return the result.
编写一个名为 “add_time” 的函数,该函数可以将一段时间添加到一个开始时间中,并返回结果。
You can access [the full project description and starter code on Repl.it](https://repl.it/github/freeCodeCamp/boilerplate-time-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.
你可以 [ Replit 上查看整个项目的具体描述和初始代码](https://replit.com/github/freeCodeCamp/boilerplate-time-calculator)。 访问此链接后fork 这个项目。 当你根据 “README.md” 中的说明完成了项目,请在下方提交你的项目链接。
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:
我们仍在开发 Python 课程的交互式教学部分。 目前freeCodeCamp.org YouTube 频道上的一些视频将会教授你这个项目需要的所有技能。
<ul>
<li>
<a href='https://www.freecodecamp.org/news/python-for-everybody/'>Python for Everybody Video Course</a> (14 hours)
<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 Video Course</a> (2 hours)
<a href='https://www.freecodecamp.org/news/learn-python-basics-in-depth-video-course/'>Learn Python 视频课程</a>2 小时)
</li>
</ul>
# --hints--
It should correctly add times and pass all tests.
它应该能正确地添加时间并通过所有测试。
```js