Question Detail

COS 102 lecture 4 Objective Question

Question

Which of these is explicitly listed as one of the four numerical types supported by Python, according to the document?
Options
A unsigned int
B long (long integers)
Correct Answer
C double
D short
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 38 lists the four numerical types as: int (signed integers), long (long integers), float (floating point real values), and complex (complex numbers).

Hint

Look at the specific numerical types mentioned, especially those that might differ from other languages.

Question Info