Question Detail

COS 102 lecture 4 Objective Question

Question

Which of these is NOT identified as one of the four numerical types supported by Python?
Options
A int (signed integers)
B double (double-precision floating-point)
Correct Answer
C float (floating point real values)
D complex (complex numbers)
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)'. 'double' is not listed as a distinct Python numerical type, although float typically handles double-precision.

Hint

Check the 'Python Numbers' section on page 38 for the exact list of numerical types.

Question Info