If you need more information visit our website at - http://learnpythontutorial.com/python...
When we name our variables there are a few words we cannot use to name a variable. These words are known as Python Keywords. These thirty three words have some sort of purpose in Python. They are either built-in functions or methods or serve some other purpose. If we try to use one of the Python Keywords we will get an invalid syntax error.
Below you will find the full list of Python Keywords we will not explain what each one does in this tutorial but if one of the words is highlighted in blue you can either hover over the word or click on it for a better explanation.
Python Keywords
and
as
assert
break
class
continue
def
del
elif
else
except
False
finally
for
from
global
if
import
in
is
lambda
None
nonlocal
not
or
pass
raise
return
True
try
while
with
yield