← Innovation PlaygroundMISSION 17 / 100 · Coding Studio

Variables and assignment

Store a score and add a bonus.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

Final score4

How the model works

score = score + bonus
YOUR MISSION

3. Reach the target

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

Final score12
Need a hint?

The variable holds the new value after assignment.

Explore, then check your answer.

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