World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITians, only for AI Learners.
Designed by IITians, only for AI Learners.
New to InsideAIML? Create an account
Employer? Create an account
Download our e-book of Introduction To Python
4.5 (1,292 Ratings)
559 Learners
Pallavi Dhotre
23 days 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 |