Python Basics - Literals
CBSE Class 11 - Informatics Practices
Questions and Answers
Answer: A set of valid characters recognized by python constitutes character set.
Python (from version 3.x onwards) supports the Unicode text. It has the following character set:
Letters: A-Z,a-z
Digits: 0-9
Special symbols: Special symbol available over a keyboard
White spaces: blank space,tab, carriage return, newline, form feed
Other characters: Unicode
Question: Can I type in Hindi in Python 3?
Answer: Yes, Python supports Unicode text, hence one can use multiple languages including Hindi.
Question: What is a token?
Answer: Smallest individual unit in a program is known as a token. It can be:
1. Keywords
2. Identifiers
3. Literals
4. Operators
5. Punctuators