Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3.md #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Article/PythonBasis/python7/3.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ print(list1)
[4, 16, 36, 64, 100]
```

这个例子是为了求 1 到 10 中偶数的平方根,上面也说到, `x * x` 是要生成的元素,后面那部分其实就是在 for 循环中嵌套了一个 if 判断语句。
这个例子是为了求 1 到 10 中偶数的平方值,上面也说到, `x * x` 是要生成的元素,后面那部分其实就是在 for 循环中嵌套了一个 if 判断语句。

那么有了这个知识点,我们也可以猜想出,for 循环里面也嵌套 for 循环。具体示例:

Expand Down