Too many NaNs

Report a typo

Look at the expressions below and pick the ones that result in nan.

Assume variables nan and inf defined as float("nan") and float("inf") respectively.

Tip: Do not forget about ZeroDivisionError, the modulo operation can cause it as well.

Select one or more options from the list
___

Create a free account to access the full topic