<commit_before># Levels Module 1 Solutions (Down Twice - Ninjutsu)

## Down Twice

Python

```
hero.moveDown()
hero.moveDown()
```

JavaScript

```
hero.moveDown();
hero.moveDown();
```

## A Fork in the Path

Python

```
#first correct solution
hero.moveDown()
hero.moveRight()
hero.moveDown()

#second correct solution
hero.moveDown()
hero.moveLeft()
hero.moveDown()
```

JavaScript

```
//first correct solution
hero.moveDown();
hero.moveRight();
hero.moveDown();

//second correct solution
hero.moveDown();
hero.moveLeft();
hero.moveDown();
```

## Fruit Loop

Python

```
#first correct solution
hero.moveLeft()
hero.moveDown()
hero.moveRight()
hero.moveUp()

#second correct solution
hero.moveDown()
hero.moveLeft()
hero.moveUp()
hero.moveRight()
```

JavaScript

```
//first correct solution
hero.moveLeft();
hero.moveDown();
hero.moveRight();
hero.moveUp();

//second correct solution
hero.moveDown();
hero.moveLeft();
hero.moveUp();
hero.moveRight();
```

## The Forest of the Fox

Python
<commit_msg>updated fruit loop level solution<commit_after># Levels Module 1 Solutions (Down Twice - Ninjutsu)

## Down Twice

Python

```
hero.moveDown()
hero.moveDown()
```

JavaScript

```
hero.moveDown();
hero.moveDown();
```

## A Fork in the Path

Python

```
#first correct solution
hero.moveDown()
hero.moveRight()
hero.moveDown()

#second correct solution
hero.moveDown()
hero.moveLeft()
hero.moveDown()
```

JavaScript

```
//first correct solution
hero.moveDown();
hero.moveRight();
hero.moveDown();

//second correct solution
hero.moveDown();
hero.moveLeft();
hero.moveDown();
```

## Fruit Loop

Python

```
#first correct solution
hero.moveLeft()
hero.moveLeft()
hero.moveDown()
hero.moveDown()
hero.moveRight()
hero.moveRight()
hero.moveUp()
hero.moveUp()

#second correct solution
hero.moveDown()
hero.moveDown()
hero.moveLeft()
hero.moveLeft()
hero.moveUp()
hero.moveUp()
hero.moveRight()
hero.moveRight()
```

JavaScript

```
//first correct solution
hero.moveLeft();
hero.moveLeft();
hero.moveDown();
hero.moveDown();
hero.moveRight();
hero.moveRight();
hero.moveUp();
hero.moveUp();

//second correct solution
hero.moveDown();
hero.moveDown();
hero.moveLeft();
hero.moveLeft();
hero.moveUp();
hero.moveUp();
hero.moveRight();
hero.moveRight();
```

## The Forest of the Fox

Python

{'fraction_non_alphanumeric': 0.17652173913043478, 'fraction_numerical': 0.0008695652173913044, 'mean_word_length': 5.304109589041096, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '667315', 'n_tokens_mistral': 825, 'n_tokens_neox': 778, 'n_words': 190}