Table of Contents
show
Python Identifiers
- A python identifier is the name given to a variable, function, class module or other object
- An identifier can begin with an alphabet (A-Z or a-z) or an underscore (_) and can include any number of letters, digits or underscores. Spaces are not allowed
- Python does not accept @, $, and % as identifiers.
- Python is a case sensitive language
- Example: Student, student are different identifiers
- Valid examples are : _ab, _
Keywords
- Python has a list of reserved words known as keywords.
- Every keyword has a specific purpose and use.
Some reserved keywords are,
Views: 9