Loading…
None
String updated in the repository |
|
ZoomQuiet
Translation changed |
|
ZoomQuiet
Translation changed |
|
Mark-Giesen
Source string changed |
|
eemaro
Translation changed |
|
None
Automatically translated |
|
None
String updated in the repository |
|
Key
adventures->repeat_command->levels->7->story_textFlags
ignore-double-space, ignore-ellipsis, ignore-inconsistent, ignore-long-untranslated, ignore-same, ignore-translated, placeholders:r"`([^`\n\r]+)`|## ", python-brace-format
Level 7 adds the `{repeat}` command. `{repeat}` can be used to execute one line of code multiple times. Like this:
### Exercise
Play around with the `{repeat}` command. Can you make the happy birthday song in only 3 lines of code instead of 4 now?
第7级增加了`{repeat}`命令。`{repeat}`可用于多次执行一行代码。
比如是这样的:### 练习
练习使用
`{repeat}`命令。你能用3行代码而不是现在的4行代码来写生日快乐歌吗?