Python Keywords and Identifiers
What are keywords in python?
Keywords are the reserved words of python. which cannot be used as variable or identifiers.
List of some common keywords :
- import
- true
- false
- none
- and
- or
- not
- is
- in
- with
- while
- def
- break
- pass
- from
- return
- try
- except
- as
- if
- elif
- else
What is identifier in python?
Python Identifier is a name given to identify a variable, function, class, etc. All the rules for defining a variable are also allow on identifier's name.
Tell me a different keyword that is not available in this list.
Comments
Post a Comment