关键字不能作为变量名使用
| 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 |
❤️
本文标题:Python 3中的33个关键字
本文链接:https://www.haomeiwen.com/subject/apwwuxtx.html
网友评论