Python 保留字

最後更新: 2017-08-20 10:38 pm

Print Friendly, PDF & Email

These words have special meaning in Python and cannot be used as names or identifiers.

and       def       finally   in       print    yield

as        del       for       is       raise

assert    elif      from      lambda   return

break     else      global    not      try  

class     except    if        or       with

continue  exec      import    pass     while