Keywords in python are reserved words for the interpreter.
Note: We cannot use a keyword as a variable name, class name, function name, or any other identifier.
Here is the list of Keywords in python.
and |
del |
|||
await |
||||
break |
except |
in |
raise |
async |
The keyword may change from version to version. The Code below is used to get the list of keywords in python
import keyword
print(keyword.kwlist)