1. Explore the controls
Change the inputs and observe the model's response.
Retrieve an item from a fixed zero-indexed array: [LED, Sensor, Motor, Switch].
Change the inputs and observe the model's response.
parts = ["LED", "Sensor", "Motor", "Switch"]
print(parts[index])Adjust the controls to obtain the following output. Multiple valid solutions may exist.
Index 0 selects the first item.
Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.