# 1 - Drill Baby Drill!

Logic:

Analyse the Python file:

* California (length 10)
* Ohio (length 4)
* Death Valley (length 12)
* Mexico (length 6)

The original `DrillBabyDrill.py` file had five levels. The one we haven't seen yet is `'The Grand Canyon'`.

### The Golden Rule 🎯

The secret to beating every level is simple: the safe place to drill is at the x-coordinate equal to the length of the level's name.

You need to move your baby left or right until the `Loc:` number in the top-right corner matches the number of characters (including spaces) in the level's name.

***

#### ## Level 1: California

1. The level name is 'California'.
2. Count the characters: C-a-l-i-f-o-r-n-i-a = 10 characters.
3. Your Goal: Move the baby until the display reads `Loc: 10`.
4. Once there, press the down arrow key to drill all the way to the bottom to find the bear. 🐻

***

#### ## Level 2: Ohio

1. The level name is 'Ohio'.
2. Count the characters: O-h-i-o = 4 characters.
3. Your Goal: Move the baby until the display reads `Loc: 4`.
4. Drill straight down to win.

***

#### ## Level 3: Death Valley

1. The level name is 'Death Valley'.
2. Count the characters, including the space: D-e-a-t-h- -V-a-l-l-e-y = 12 characters.
3. Your Goal: Move the baby until the display reads `Loc: 12`.
4. Drill straight down to win.

***

#### ## Level 4: Mexico

1. The level name is 'Mexico'.
2. Count the characters: M-e-x-i-c-o = 6 characters.
3. Your Goal: Move the baby until the display reads `Loc: 6`.
4. Drill straight down to win.

***

#### ## The Final Level

You still need to find the fifth and final level. The same rule will apply. When you see the level's name appear:

1. Carefully count its characters.
2. Move to that `Loc:` number.
3. Drill down to find the last bear and get the flag!

<figure><img src="https://2455782163-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg5j2Pl54EfpVDeiuNr4o%2Fuploads%2F2AbIYuLPMYNCOqIsgHqh%2Fimage.png?alt=media&#x26;token=1c55f601-199e-4c46-9bac-5a412acd4cb2" alt=""><figcaption></figcaption></figure>
