Like every programming language, Python also have keywords(Reserved Words). you can not use them as a variable name or any other identifier name.
Python Keywords are used to perform an internal operation. All the keywords of Python contain lower-case letters only.
Python Keywords List |
||
and |
assert |
in |
del |
else |
raise |
from |
if |
continue |
not |
pass |
finally |
while |
yield |
is |
as |
break |
return |
elif |
except |
def |
global |
import |
for |
or |
lambda |
|
with |
class |
try |
exec |