Python关键字

python关键字一共有33个,如果我们将他们用作变量名字的话,将会引发错误


Python关键字分类记忆

False           class              finally                 is                          return

None           continue         for                      lambda                 try

True             def                 from                   nonlocal               while

and              del                 global                  not                       with

as                 elif                 if                         or                         yield

assert            else              import                 pass

break            except           in                        raise









Robbers:The content of this article is for reference only. If a mistake

is found, it can be a private author. If it is found identical, please

inform the author that I will indicate the source.

你可能感兴趣的:(Python关键字)