Which of the following statements about integers in Python is true?
-
A
Integers can have leading zeros.
-
B
Integers can have a decimal point.
-
C
Integers can be represented in binary format.
Correct answer
-
D
Integers can contain letters.
Correct answer
C. Integers can be represented in binary format.
15 views
Explanation
Integers can be represented in various formats, including binary, hexadecimal, and octal.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ