❮ Previous Next ❯

Keywords in Python

  • Keywords are the reserved words in Python.
  • We cannot use a keyword as variable name,function name or any other identifier.
  • They are used to define the syntax and structure of the Python language.
  • In Python, keywords are case sensitive.

List of keywords

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