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 |
Author
-
Hi, My name is Manoj Kumar. I am a full-stack developer with a passion for creating robust and efficient web applications. I have hands-on experience with a diverse set of technologies, including but not limited to HTML, CSS, JavaScript, TypeScript, Angular, Node.js, Express, React, and MongoDB.
View all posts