Bug in 'Power of Thore'

I use this cod

n = ''
if TY < LY:
    n +='S'
elif TY > LY:
    n +='N'
if TX < LX:
    n+='E'
elif TX >LX:
    n+='W'
print(n)

I have completed levels one and two, but i have some troubles in third.

Thor position = (18,17). Light position = (0,17). Energy = 31
Standard Output Stream:
SW

LY == TY, but output == SW.

1 Like

Same here, seems to be a Python specific error. I’ve written multiple versions, and the exact same thing happens every single time.

@CvxFous For the love of god, I can’t take it anymore, please add something like:
“YOU HAVE TO UPDATE TX AND TY YOURSELF”
to the puzzle’s description … Honestly, I think these posts are becoming 50% of the whole forum and IRC.

3 Likes

@lechium06_ I would if I could, I can’t touch the website i’m a special admin, ask @SaiksyApo instead :slight_smile: but the main problem here is people don’t read the appropriate topic and create new one without necessity.

Long story short, topic closed.

1 Like

We’ve just changed the variable name from TX, TY to initialX, initialY. Hope it will help.

1 Like