set number to - infinity code example
Example: python set negative infinity
# Define Negative infinity number
ntive_inf = float('-inf')
print('Negative Infinity: ',ntive_inf)
# Define Negative infinity number
ntive_inf = float('-inf')
print('Negative Infinity: ',ntive_inf)