You are on page 1of 1

How to check if a string is a valid keyword in Python? Defining a Keyword.

In programming, a keyword is a “reserved word” by the language which


convey a special meaning to the interpreter.
It may be a command or a parameter. Keywords cannot be used as a variable name in
the program snippet. Keywords in Python:
Python language also reserves some of keywords that …

You might also like