Python Language Pedia
ItemCount Result For:
How can I represent an infinite number in Python?
How can I represent an infinite number in python? No matter which number you enter in the program, no number should be greater than this representation of infinity.
Is it possible to set a number to NaN or infinity?
Is it possible to set an element of an array to NaN in Python? Additionally, is it possible to set a variable to +/- infinity? If so, is there any function to check whether a number is infinity or not?
Page 1 of 1