mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 10:00:39 -04:00
chore(i18n,learn): processed translations (#48693)
This commit is contained in:
@@ -12,9 +12,9 @@ dashedName: rock-paper-scissors
|
||||
|
||||
你将使用<a href="https://replit.com/github/freeCodeCamp/boilerplate-rock-paper-scissors" target="_blank" rel="noopener noreferrer nofollow">我们在 Replit 的初始化项目</a>来完成这个项目。
|
||||
|
||||
- Start by importing the project on Replit.
|
||||
- Next, you will see a `.replit` window.
|
||||
- Select `Use run command` and click the `Done` button.
|
||||
- 首先在 Replit 中导入项目。
|
||||
- 接着,你将看到一个 `.replit` 窗口。
|
||||
- 选择 `Use run command` 并点击 `Done` 按钮。
|
||||
|
||||
我们仍在开发机器学习课程的交互式课程部分。 现在,你需要使用其他资源来学习如何通过这一挑战。
|
||||
|
||||
@@ -36,9 +36,9 @@ dashedName: rock-paper-scissors
|
||||
|
||||
要测试你的代码,请使用 `play` 函数玩游戏。 `play` 函数有四个参数:
|
||||
|
||||
- two players to play against each other (the players are actually functions)
|
||||
- the number of games to play in the match
|
||||
- an optional argument to see a log of each game. Set it to `True` to see these messages.
|
||||
- 两个玩家互相对战(玩家实际上是函数)
|
||||
- 对战中的比赛场数
|
||||
- 一个可选参数来查看每场比赛的日志。 将其设置为 `True` 以查看这些消息。
|
||||
|
||||
```py
|
||||
play(player1, player2, num_games[, verbose])
|
||||
|
||||
Reference in New Issue
Block a user