I subscribed and I recently got pender but I can not beat mad maxer this is my code in python can someone fix it?
# You can't reach your friends to defend them! # Tell them to go home where the archer can help. while True: weakestFriend = None leastHealth = 9999 friendIndex = 0 # Find which friend has the lowest health. while friendIndex<len(weakestFriend): weakestFriend=friends[leastHealth] if weakestFriend: hero.say('Hey ' + weakestFriend.id + ', go home!') friendIndex+=1