← Innovation PlaygroundMISSION 27 / 100 · Coding Studio

Sorting numbers

Sort three sensor readings in ascending or descending order.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

Sorted sequence7, 3, 1

How the model works

sorted(readings, reverse=descending)
YOUR MISSION

3. Reach the target

Adjust the controls to obtain the following output. Multiple valid solutions may exist.

Sorted sequence2, 5, 8
Need a hint?

Ascending means smallest first.

Explore, then check your answer.

Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.