Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3c16b9e

Browse files
Fix: typo in for-and-while-statement.md (#53)
1 parent ad9be9f commit 3c16b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎i18n/zh-cn/docusaurus-plugin-content-docs/current/for-and-while-statement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for el in numbers:
4646
:::tip 在循环中获取元素索引
4747
Python 中的内置函数 `enumerate()` 用于枚举可迭代对象,它返回一个包含索引和项本身的元组。
4848
```python
49-
for index,el of enumerate(my_list):
49+
for index,el in enumerate(my_list):
5050
...
5151
```
5252
:::

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /