Computer Applications
What kind of literals are these : 011, 0X2A, 17, 014, 0XBC1 ?
Python Funda
1 Like
Answer
| 011 | Octal Literal |
| 0X2A | Hexadecimal Literal |
| 17 | Decimal Literal |
| 014 | Octal Literal |
| 0XBC1 | Hexadecimal Literal |
Answered By
1 Like
Related Questions
What is an identifier ? What are the identifier forming rules of Python ?
How many types of integer literals are allowed in Python ? How are they written ?
How are nongraphic characters represented in Python ?
What are string-literals in Python ? How many ways, can you create String literals in Python ?