1. Explore the controls
Change the inputs and observe the model's response.
Sort three sensor readings in ascending or descending order.
Change the inputs and observe the model's response.
sorted(readings, reverse=descending)Adjust the controls to obtain the following output. Multiple valid solutions may exist.
Ascending means smallest first.
Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.