Help me out with the issue regarding the task

import math

def get_highest_lowest():

from robot_control_class import RobotControl

b = RobotControl()

a = b.get_laser_full()

l = list(a)

abc = []

abc = [v for v in l if not (math.isinf(v))] 

index = abc.index(min(abc))

index1 = abc.index(max(abc))

return index , index1

Hi @rampallidinesh ,

Welcome to our community.

Could you better describe what is the problem you are trying to solve? And why your script doesn’t work?

I look forward to hearing from you.