How-to articles, tricks, and solutions about MATH
How can I check for NaN values?
You can use the isnan() function provided by the math module to check if a value is NaN.
How to evaluate a math expression given in string form?
There are a few different ways to evaluate a math expression given in string form: