It is a word with special meaning for Python. In other words, when used these special words, Python performs certain function (or) action. We can not use reserved words as Variable names. Example 'and' ... 'or' === > reserved words, these are used for comparison needs in the program logic
Python Keywords |
|||
---|---|---|---|
and |
else |
is |
while |
as |
except |
lambda |
with |
assert |
finally |
nonlocal |
yield |
False |
def |
if |
raise |
True |
elif |
in |
try |
None |
del |
import |
return |
break |
for |
not |
|
class |
from |
or |
|
continue |
global |
pass |