Implement a function to identify the missing term in an arithmetic progression. An arithmetic progression is a sequence of numbers in which the difference between consecutive terms is constant. The given sequence will have exactly one term missing.
Input Requirements
The input will be a list of integers seq, which represents the arithmetic progression with one missing term. The list will contain at least 2 integers.
Output Requirements
The function should return a single integer, which is the missing term in the arithmetic progression.
Implementation
Your implementation should match the following function signature:
python
def find_missing_term(seq):
"""
Finds the missing term in an arithmetic progression.
Parameters:
seq (list of int): A list of integers representing the arithmetic progression with one missing term.
Returns:
int: The missing term in the arithmetic progression.
"""
File Requirements
Save your solution in a Python file named /app/solution.py.
Ensure that your function correctly handles the computation of the missing number based on the properties of arithmetic progressions.