Computer Science, asked by erpragyasingh, 1 year ago

In Python, what kind of literals are these : 011, 0X2A, 17, 014, 0XBC1 ?​

Answers

Answered by Anonymous
13

\huge\bold\darkblue{Vanakam}

011 - Numeric literals

0X2A - Hexadecimal

17 - Numerical literals

014 - Numerical literals

0XBC1 - Hexadecimal

Answered by SrivastavaSaksham
4

Answer:

Hello friends!!

Explanation:

14: is an example of Decimal Integer Literals or Decimal Integer constants,

011: is an example of Octal Integer Literals or Octal Integer constants,

0X2A: is an example of HexaDecimal Integer Literals or HexaDecimal Integer constants,

17: is an example of Decimal Integer Literals or Decimal Integer constants,

014: is an example of Octal Integer Literals or Octal Integer constants,

0XBC1: is an example of HexaDecimal Integer Literals or HexaDecimal Integer constants.

Thank You

Similar questions