---
id: 6625182c819dcd464d8a772f
title: Task 16
challengeType: 19
dashedName: task-16
lang: en-US
---

<!-- (Audio) Sophie: Loops and conditionals... Thanks! By the way, when you see a logic challenge, how do you usually approach it? -->

# --description--

Please answer the question below.

# --questions--

## --text--

What does Sophie want to know?

## --answers--

The best time to work on logic challenges

### --feedback--

Her question is more about methods, not about timing.

---

Different ways to solve logic challenges

### --feedback--

Sophie is asking about a specific approach, not multiple ways.

---

How to avoid logic challenges in programming

### --feedback--

Her question implies interest in tackling challenges, not avoiding them.

---

The usual method for approaching logic challenges

## --video-solution--

4

# --scene--

```json
{
  "setup": {
    "background": "company2-center.png",
    "characters": [
      {
        "character": "Sophie",
        "position": {
          "x": 50,
          "y": 0,
          "z": 1.4
        },
        "opacity": 0
      }
    ],
    "audio": {
      "filename": "9.2-1.mp3",
      "startTime": 1,
      "startTimestamp": 37.6,
      "finishTimestamp": 43.62
    }
  },
  "commands": [
    {
      "character": "Sophie",
      "opacity": 1,
      "startTime": 0
    },
    {
      "character": "Sophie",
      "startTime": 1,
      "finishTime": 3.16,
      "dialogue": {
        "text": "Loops and conditionals... Thanks.",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "startTime": 3.6,
      "finishTime": 7.02,
      "dialogue": {
        "text": "By the way, when you see a logic challenge, how do you usually approach it?",
        "align": "center"
      }
    },
    {
      "character": "Sophie",
      "opacity": 0,
      "startTime": 7.52
    }
  ]
}
```
