Valor infinito do Python
test = float("inf")
In Python 3.5, you can do:
import math
test = math.inf
Ugliest Unicorn
test = float("inf")
In Python 3.5, you can do:
import math
test = math.inf
# Defining a positive infinite integer
positive_infnity = float('inf')
print('Positive Infinity: ', positive_infnity)
# Defining a negative infinite integer
negative_infnity = float('-inf')
print('Negative Infinity: ', negative_infnity)
positive_infinity = float('inf')
negative_infinity = float('-inf')
# Define Negative infinity number
ntive_inf = float('-inf')
print('Negative Infinity: ',ntive_inf)
math.inf
not possible in a numerical value sorry