关键字不能作为变量名使用
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 |
❤️
![5804969-64ca917b7b70f881.jpg](https://i-blog.csdnimg.cn/blog_migrate/1eea3366b1d8544b71d677204d8d47bd.jpeg)
关键字不能作为变量名使用
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 |
❤️