Write a function is_eligible(age, skill) that returns a boolean indicating whether a player can join the junior sports team.
Eligibility rules:
- Age must be between 10 and 18 inclusive.
- Skill level must be either "intermediate" or "advanced".
Return True only when both conditions are satisfied; otherwise return False.
Examples
is_eligible(12, "intermediate") # → True
is_eligible(9, "advanced") # → False (age too low)