0 votes
in Python by

Which statement correctly assigns X as an infinite number?

x=infinity

x=int('inf')

x=float('inf')

X=pos_infinity()

1 Answer

0 votes
by
x=float('inf')
...