Copper Meadows (python) Help :( [SOLVED]

pls help with copper meadows i really need help. Im starting to get extremely frustrated pls help.

1 Like

Please post your code.

1 Like

Please copy and paste your code.

1 Like

and format it by clicking a button that looks like this</>

1 Like

ok just came back from run srry

1 Like
# Collect all the coins in each meadow.
# Use flags to move between meadows.
# Press Submit when you are ready to place flags.

while True:
    flag = hero.findFlag()
    if flag:
        pass  # `pass` is a placeholder, it has no effect.
        # Pick up the flag.
        hero.pickUpFlag(flag)
    else:
        # Automatically move to the nearest item you see.
        item = hero.findNearestItem()
        if item:
            position = item.pos
            x = position.x
            y = position.y
            hero.moveXY(x, y)

1 Like

Theres nothing wrong with your code, you have to press submit then place flags.

4 Likes

oh. ok. thx so much eric_tang

3 Likes

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