# The Wizard's Door

**URL:** <https://discourse.codecombat.com/t/the-wizards-door/17381>\
**Category:** Level Help\
**Created:** [February 5, 2019, 10:52am UTC](https://discourse.codecombat.com/t/the-wizards-door/17381 "2019-02-05T10:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave\_Robertson](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dave_robertson/32/9620_2.png) [@Dave\_Robertson](https://discourse.codecombat.com/u/Dave_Robertson)\
**Post date:** [February 5, 2019, 10:52am UTC](https://discourse.codecombat.com/t/the-wizards-door/17381/1 "2019-02-05T10:52:49Z")

</div>

Hi Guys,

I’ve been trying to work this out on my own until I saw a Youtube tutorial that passed this level with the same code that I was using. Is there a bug or am I missing something?

I’m not looking for the easy answer but if you could point me in the right direction I would really appreciate it.

```python
# Move to 'Laszlo' and get his secret number.
hero.moveXY(30, 13)
las = hero.findNearestFriend().getSecret()

# Add 7 to 'Laszlo's number to get 'Erzsebet's number.
# Move to 'Erzsebet' and say her magic number.
erz = las + 7
hero.moveXY(17, 26)
hero.say(erz)

# Divide 'Erzsebet's number by 4 to get 'Simonyi's number.
# Go to 'Simonyi' and tell him his number.
sim = erz / 4
hero.moveXY(30, 39)
hero.say(sim)
# Multiply 'Simonyi's number by 'Laszlo's to get 'Agata's number.
# Go to 'Agata' and tell her her number.
aga = sim * las
hero.moveXY(43, 26)
hero.say("aga")

```

---

<div class="post-metadata">

**Author:** ![123hi123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/123hi123/32/9541_2.png) [@123hi123](https://discourse.codecombat.com/u/123hi123)\
**Post date:** [February 5, 2019, 2:03pm UTC](https://discourse.codecombat.com/t/the-wizards-door/17381/2 "2019-02-05T14:03:25Z")

</div>

well, in

```python
erz = las + 7
hero.moveXY(17, 26)
hero.say(erz)

```

you don’t have quotation marks, and in

```python
aga = sim * las
hero.moveXY(43, 26)
hero.say("aga")

```

you do have quotation marks. So that is probably your problem.
