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

  • (A) Infinity
  • (B) SyntaxError
  • (C) 0
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (A) Infinity
Explanation: `float('inf')` returns a floating point representation of infinity.
Explanation by: Mr. Dubey
`float('inf')` returns a floating point representation of infinity.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate