Examveda

What will be the output of the following Python code?
>>> -float('inf') + float('inf')

A. inf

B. nan

C. 0

D. 0.0

Answer: Option B


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python