Informatics Practices
Identifier name cannot be composed of special characters other than …………… .
- #
- Hyphen (-)
- Underscore (_)
Python Funda
2 Likes
Answer
Underscore (_)
Reason — In Python, an identifier name can only be composed of letters (both uppercase and lowercase), digits, and underscores (_). Special characters like #, hyphen (-), and are not allowed in identifier names.
Answered By
2 Likes
Related Questions
Python supports multiple assignments to multiple variables.
Which of the following are not the fundamental building blocks of a Python program?
- Identifiers
- Constants
- Keywords
- Errors
Python takes …………… indented spaces after the function declaration statement by default.
- 5
- 6
- 4
- 3
Single line comments in Python begin with …………… symbol.
- #
- "
- '''
- %