# A small Hero class (provided). class Hero: def __init__(self, name, hp): self.name = name self.hp = hp self.max_hp = hp party = [Hero("Ada", 100), Hero("Ben", 80), Hero("Cara", 120)] total = 0 for h in party: total = total + h.hp print(f"Team HP: {total}")