BestC = Cgrid[0]C BestCResult = float("-inf") weightsForC = [] code example Example: float inf in python float('inf') float('-inf')