1.

Which statement correctly assigns X as an infinite number?

Answer»

Which STATEMENT CORRECTLY assigns X as an INFINITE number?
Choose the correct option from below LIST
(1)x=infinity
(2)x=float('inf')
(3)X=pos_infinity()
(4)x=int('inf')

Answer:-(2)x=float('inf')



Discussion

No Comment Found