Python has a set of 33 reserved keywords. A reserved keyword is used by the programming language itself to give instructions to the machine. These keywords can’t be used as a variable name, or a function name, or as any other identifier.
List of Reserved keywords in Python.
and | except | lambda |
with | as | finally |
nonlocal | while | assert |
false | None | yield |
break | for | not |
class | from | or |
continue | global | pass |
def | if | raise |
del | import | return |
elif | in | True |
else | is | try |