infinity
#Infinity Infinity in python can be represented in multiple ways. Positive infinity number is greatest, and the negative infinity number is the smallest of all numbers.
import math
# Positive infinityptive_inf = math.infprint('Positive Infinity: ',ptive_inf)
# Negative infinityntive_inf = -math.infprint('Negative Infinity: ',ntive_inf)Or
# Define Positive infinity numberptive_inf = float('inf')print('Positive Infinity: ',ptive_inf)
# Define Negative infinity numberntive_inf = float('-inf')print('Negative Infinity: ',ntive_inf)More info here