can someone help me i dont know how to do the second code

I don’t think I understand. What do you mean by “second code”?

i dont know how to do the second part of the code

``````# Move to the wizard and get their secret values.
hero.moveXY(20, 24)
secretA = hero.findNearestFriend().getSecretA()
secretB = hero.findNearestFriend().getSecretB()
secretC = hero.findNearestFriend().getSecretC()

# If ALL three values are true, take the high path. Otherwise, take the low path.
secretD = secretA and secretB and secretC
if secretD:
hero.moveXY(30, 33)
else:
hero.moveXY(30, 15)

# If ANY of the three values are true, take the left path. Otherwise, go right.

right here

# If ALL five values are true, take the high path. Otherwise, take the low path.
and here
``````

If ALL three (five) values are true - use AND
If ANY of the values are true -use OR

To find if any values in any given situation are true, use or instead of and, like this:

``````if secretA or secretB or secretC:
hero.moveXY(20, 24)
else:
hero.moveXY(40, 24)
``````

And for the last bit, you want to create a new variable called secretE, which is if secrets A, B, C, and D are true.
Then you’ll beat the level.

Happy to help!

Thanks @juraj_pechac!

thanks so when i do the final i should put

That’s right!

Thank you soo much it helped me out a lot!

You’re welcome!

[Message must be at least 20 characters.]

would you be willing to help me with logical conclusion i mean i got most of it down but i still need a little help

What do you need help with?

nevermind i don’t need help because you already helped me by telling me what to do on logical circle

have you beaten the game or r u still playing?

I’ve been stuck on The Trials in the desert, Summit’s Gate and a few other levels in the mountains for as long as I can remember…

So yeah, I’m still playing.

Mostly I’m just searching around the forum to see if there are any issues I can help fix.

what place are you in like forest dungeon ect.

and also what level are you

I’ve beaten all the non-subscriber levels in the forest and dungeon, but my parents aren’t willing to pay for anything on the Internet except for things like Amazon.