isfinite

math.isfinite()

Returns True if x is neither infinite nor NaN.

b??

REMARKS
* math module
* Return True if x is neither an infinity nor a NaN, and False otherwise. (Note that 0.0 is considered finite.)

import math 

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top