Python Keywords
Python Keywords
Python Keywords
The keywords are some predefined and reserved words in python that have special
meanings. Keywords are used to define the syntax of the coding. The keyword cannot be
used as an identifier, function, and variable name. All the keywords in python are written in
lower case except True and False. There are 33 keywords in Python 3.7.
This is also a logical operator it returns true if anyone operand is true else
2 Or return false.
This is again a logical operator it returns True if the operand is false else
3 not return false.
Else is used with if and elif conditional statement the else block is
6 else executed if the given condition is not true.
This function is used for debugging purposes. Usually used to check the
19 assert correctness of code