[Solved] I hate this! I got stuck! again- The Wizards Door

:sweat_smile: :rofl: :rofl: :rofl: :rofl:
I got stuck again!!!

# 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.
erz = "Sim" + 4
hero.moveXY(30, 39)
# Multiply 'Simonyi's number by 'Laszlo's to get 'Agata's number.
# Go to 'Agata' and tell her her number.

hero.moveXY(42, 27)

The wizards door.

I made you a screenshot and put a neon shot where there are problems.

Annotation 5

If it helped you say the me.

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.
erz = Sim / 4
hero.moveXY(30, 39)
# Multiply 'Simonyi's number by 'Laszlo's to get 'Agata's number.
# Go to 'Agata' and tell her her number.

it is saying that I have to put “Simonyi” but if I do it pass him.

Il manque des chose selon moi et ta ligne erz = sim / 4 n’est pas bonne:
tu devrai plutot mettre:

“sim = erz / 4”

Il te manque la ligne pour “sim * las = aga”
et ensuite dire a Agata le résultat de aga.

check your capitalization

and also your order, you did


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.
erz = Sim / 4
hero.moveXY(30, 39)

hope this was helpful

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.