Download our e-book of Introduction To Python
Pallavi Dhotre
a year ago
Keywords in Python | ||||
False | class | finally | is | return |
None | continue | for | lambda | try |
True | def | from | nonlocal | while |
and | del | global | not | with |
as | elif | if | or | yield |
assert | else | import | pass | break |
except | in | raise |
Parameter | Keywords | Identifiers |
Definition | The reserved words with predefined meaning are known as keywords | Names given to the entities like variables, class, and function are commonly known as identifiers |
Rule | reserved words are case sensitive | We cannot assign a name of reserved words to identifiers |
Eg. | class, def, int, float | Student_name, my_Function, MyClass |