Python Keywords

  • Below are the Python Key words, which form the basis of the Python language. 
  • You are not allowed to use these words to name your variables, because these are the core commands of Python. 
  • They must be spelled exactly as written here for the interpreter to recognize them as keywords. 
  • The words True, False and None have a special meaning, which will be covered later.
    • False
    • True
    • None
    • and
    • as
    • assert
    • break
    • class
    • continue
    • def
    • del
    • elif
    • else
    • except
    • finally
    • for
    • from
    • global
    • if
    • import
    • in
    • is
    • lambda
    • nonlocal
    • not
    • or
    • pass
    • raise
    • return
    • try
    • while
    • with
    • yield

Comments

Post a Comment

Popular posts from this blog

Internationalization (Language Setting) in Django

reverse_lazy() Method in Django

CharFilter in Django