Question #154

Which one will not return -inf?

To cast an argument to inf or -inf , it has to be a string. float(-inf) will throw a NameError error. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: