Skip to content

Commit 3c16b9e

Browse files
authored
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

+1-1
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)