Write a function analyze_orbit(values) that receives a list of numbers representing distances of satellites. It must return a tuple (min_val, max_val, quotient, remainder) where:
min_valis the smallest number in the list.max_valis the largest number in the list.quotientandremainderare the result ofdivmod(sum(values), len(values)). If the list is empty, return (None, None, 0, 0). Do not modify any variables outside the function – any assignment inside should be local.
Examples
analyze_orbit([3, 1, 4, 2]) # → (1, 4, 2, 2) because sum=10, len=4, divmod→(2,2)
analyze_orbit([]) # → (None, None, 0, 0)