Python‎ > ‎

keywords

http://www.adilwaseem.com/

Definition
Python has few keywords which the developer are not permitted to name the object. The examples of these are if, for, lambda, etc.

Examples
Here are examples are these.
 >>> 
>>> if="Python Lake"
SyntaxError: invalid syntax
>>> 
>>> lambda=33
SyntaxError: invalid syntax
>>> for="333aa"
SyntaxError: invalid syntax
>>> as=pow(2,33)
SyntaxError: invalid syntax
>>> is=33*22
SyntaxError: invalid syntax
>>> 

Comments