Python keywords
In Python, keywords are reserved words that have predefined meanings and cannot be used as identifiers (variable names, function names, etc.) because they are part of the language syntax. Here is a list of all the Python keywords as of Python 3.9:
False | class | finally | is | return |
None | continue | for | lambda | try |
True | def | from | nonlocal | while |
and | del | global | not | with |
as | elif | if | or | yield |
assert | else | import | pass | |
break | except | in | raise |
These keywords are case-sensitive, meaning you must use them in lowercase letters.
It's important to note that you should not use these keywords as variable names or any other identifiers, as it will result in a syntax error.