DEV Community

Discussion on: A small Python Quiz

Collapse
bascodes profile image
Bas codes Author

Nan stands for “not a number” and comparing two things we know nothing about (other than what they’re not) is not reasonable.

Therefore by definition, nan is not the same as another nan.