← Innovation PlaygroundMISSION 25 / 100 · Coding Studio

String construction

Combine a label and number into a device name.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

Device nameBOT-2

How the model works

name = prefix + "-" + str(number)
YOUR MISSION

3. Reach the target

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

Device nameLAB-7
Need a hint?

Select the prefix and number that match the target.

Explore, then check your answer.

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