What Are Python Keywords?

By: Dusty Arlia
Published on Wednesday, August 21, 2013, 10:08 PM
Last Updated on Tuesday, July 14, 2015 at 2:38 PM
Total Updates: 2

Keywords in Python are reserved words that cannot be used as identifiers. They must be spelled out in all lowercase letters.

  • and
  • as
  • assert
  • break
  • class
  • continue
  • def
  • del
  • elif
  • else
  • except
  • exec
  • finally
  • for
  • from
  • global
  • if
  • import
  • in
  • is
  • lambda
  • not
  • or
  • pass
  • print
  • raise
  • return
  • try
  • while
  • with
  • yield

Comments:

Ad: