What is reserved word, list of reserved words in Python

What is a Reserved Word in Python ?

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


List of Reserved Words in Python !

as, assert, and, break, del, from, not,
except, else, if, elif, global, or, with,
pass, yield, import, print, class, exec,
in, raise, continue, finally, is, return,
def, for, lambda, try, while


Python Interview Questions and Answers - INDEX


What are the differences between Python 2.x vs Python 3.x (2.7 vs 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9), when to you which version ?


What is Python Variable, Expression and Statement ?


What is a 'Reserved Word' in Python ? List of Reserved words in Python ?