Explore topic-wise MCQs in Python.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

What is x if x = math.isfinite(float( 0.0 ))?

A. True
B. False
C. None
D. error
Answer» B. False
2.

What is returned by math.isfinite(float( nan ))?

A. True
B. False
C. None
D. error
Answer» C. None
3.

What is returned by math.isfinite(float( inf ))?

A. True
B. False
C. None
D. error
Answer» C. None