Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python math negative infinity

# Import math Library
import math

# Print the positive infinity
print (math.inf)

# Print the negative infinity
print (-math.inf)
 
PREVIOUS NEXT
Tagged: #python #math #negative #infinity
ADD COMMENT
Topic
Name
6+8 =