关键字不能作为变量名使用
| False | None | True |
|---|---|---|
| class | continue | def |
| finally | for | from |
| nonlocal | lambda | is |
| return | try | while |
| and | as | assert |
| del | elif | else |
| global | if | import |
| not | or | pass |
| with | yield | break |
| except | in | raise |
❤️

关键字不能作为变量名使用
| False | None | True |
|---|---|---|
| class | continue | def |
| finally | for | from |
| nonlocal | lambda | is |
| return | try | while |
| and | as | assert |
| del | elif | else |
| global | if | import |
| not | or | pass |
| with | yield | break |
| except | in | raise |
❤️

2万+
4793

被折叠的 条评论
为什么被折叠?