def get_numbers(): numbers = [2,3,4,1,4,1,416,6] return numbers def calculate_average(): numbers = get_numbers() numbers_plus_30 = [num + 30 for num in numbers] total = sum(numbers_plus_30) count = len(numbers) average = total / count return average calculate_average()
84.625