Saved Bookmarks
| 1. |
Mention some rules for Identifiers? |
|
Answer» 1. An identifier must start with an alphabet (A..Z or a..z) or underscore (_). 2. Identifiers may contain digits (0 .. 9) 3. Python identifiers are case sensitive i.e. uppercase and lowercase letters are distinct. 4. Identifiers must not be a python keyword. 5. Python does not allow punctuation character such as %,$, @ etc., within identifiers. |
|