infinity in python

34

python set negative infinity -

# Define Negative infinity number
ntive_inf = float('-inf')
print('Negative Infinity: ',ntive_inf)

Comments

Submit
0 Comments