Keywords in Python are pre-defined and reserved words. These words are defined by the Python creator. Every keyword has its own meaning, and has defined to perform particular task.
List of Python Keywords
Here are the list of Python keywords:
Note - Characters of all keywords are in lowercase except True, False, and None.
Can Keywords be Used as Identifiers ?
No, a keyword can not be used as an identifier in Python.
What is Difference Between Keyword and Identifier ?
Keywords are pre-defined by Python's creator, whereas identifiers are user-defined names given to variables, classes, functions etc.
« Previous Tutorial Next Tutorial »