Keywords
What are reserved keywords in python?
Reticent words( also called keywords) are delineated with predefined content and syntax in the vocabulary. These keywords have to be used to develop programming instructions. allocated words can not be applied as identifiers for different programming principles like name of variable, function etc.
Following is the group of reserved keywords in Python 3
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 |
A reserved word is one that "looks like" a normal word, but is never allowed to be applied as a simple word. Formally this means that it satisfies the unactive lexical syntax (syntax of words) of identifiers – for ex, being a sequence of letters – but cannot be applied where identifiers are applied.
Insideaiml is the platform where you learn identifier in python and get certified.
Comments
Post a Comment