Implement a Python function calculate_teammate_probability that calculates the probability of selecting at least one player from Herr Wafa's department when randomly selecting n players from a total of players distributed across multiple departments.
n (int): The number of players to be selected. (1 <= n <= total number of players)
m (int): The number of departments. (1 <= m <= 100)
h (int): The index of Herr Wafa's department (1-based). (1 <= h <= m)
departments (List[int]): A list of integers where each integer represents the number of players in each department. The length of this list will be m.
Outputs
Returns a string formatted to 10 decimal places indicating the probability of selecting at least one player from Herr Wafa's department when choosing n players.
If there are not enough players across all departments to select n, return '-1'.
Implementation File
The solution should be implemented in a file located at /app/solution.py. Ensure that the function is correctly defined and handles edge cases as specified in the inputs.