Can someone help me with “Air Rescue Service”. It is a concept challenge.
# To save a friend: say "Friend " followed by the friend's id property. # To zap an enemy: say "Enemy " followed by the enemy's id property. while True: friend= hero.findNearestFriend() if friend: hero.say("Friend" + friend.id) enemy = hero.findNearestEnemy() if enemy: hero.say("Enemy" + " " + enemy.id)