IDENTIFIERS:
Identifier is the name given to entities like
class, functions, variables etc. in Python.
v Identifiers can be a combination of letters in
lowercase (a to z) or uppercase (A to Z) or digits (0 to 9) or an underscore
(_).
v all are valid example.
v An identifier cannot start with a digit.
v Keywords cannot be used as identifiers.
v Cannot use special symbols like !, @, #, $, %
etc. in our identifier.
v Identifier can be of any length.
Example:
Names like
myClass, var_1, and this_is_a_long_variable
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2026 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.