1.

What is returned by math.isfinite(float(‘nan’))?(a) True(b) False(c) None(d) errorThe question was posed to me in quiz.My question is from Math in chapter Mapping Functions and Modules of Python

Answer» RIGHT answer is (B) False

Easy EXPLANATION - float(‘nan’) is not a FINITE NUMBER.


Discussion

No Comment Found

Related InterviewSolutions