A

Admin • 832.27K Points
Coach

Q. What will `float('inf')` return?

  • (A) Infinity
  • (B) SyntaxError
  • (C) 0
  • (D) None
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`float('inf')` returns a floating point representation of infinity.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.