Not a number yet!

Report a typo

Imagine you have decided to replace all NaNs in your data with the median value. In order to do so, you need to detect NaN values first.

Test a value for NaN in the variable check, please.

Write a program in Python 3
import math


value = float(input())
# change the next line
check = ...
___

Create a free account to access the full topic