Solveeit Logo

Question

Computer Science Question on Python Libraries

Which of the following is/are true statements ?
A. Python integer types cannot store NaN values
B. Python float types cannot store NaN values
C. Python integer types cannot store NaN values
D. Python float types can store NaN values
Choose the correct answer from the options given below :

A

B and C only

B

A and B only

C

C and D only

D

A and D only

Answer

A and D only

Explanation

Solution

The correct option is (D) :A and D only.