as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
create a computer program that can search its environment for a red ball.
user
the program will first scan its environment for a red ball. it will use a variety of sensors and algorithms to detect the ball's presence and location. once a red ball is found, the program will then process the data to determine the ball's size and distance. finally, it will take action in the environment to pick up the ball or move toward it to explore further.
assistant