Python Python Collections (2016, retired 2019) Dungeon Game Hit points

Kane Toomer
Kane Toomer
3,395 Points

I do not understand what I Should be doing here. Can anyone please explain this to me?

I do not understand what this question is asking...

movement.py
# EXAMPLES:
# move((1, 1, 10), (-1, 0)) => (0, 1, 10)
# move((0, 1, 10), (-1, 0)) => (0, 1, 5)
# move((0, 9, 5), (0, 1)) => (0, 9, 0)

def move(player, direction):
    x, y, hp = player

    return x, y, hp

1 Answer

diogorferreira
diogorferreira
19,360 Points

I think this other post might solve your question. https://teamtreehouse.com/community/im-so-lost-plz-help-hit-points If you're still confused I might be able to help