Suppose we have defined the variable inf as follows: inf = float('inf'). Match each of the expressions below with its outcome.
Float special values
Paradox
Report a typo
Match the items from left and right columns
print(1 / inf)print(1 / 0)print(0 * inf)ZeroDivisionError
0.0
nan
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.