import random
numbers = [random.randint(0,100) for x in range(3)]
average = round(sum(numbers)/len(numbers),3)
doubleDiff = 2*(numbers[0]+numbers[-1]) - 3*numbers[1]
print(f"Среднее арифметическое: {average}\nРазность удвоенной суммы: {doubleDiff}")
import random
numbers = [random.randint(0,100) for x in range(3)]
average = round(sum(numbers)/len(numbers),3)
doubleDiff = 2*(numbers[0]+numbers[-1]) - 3*numbers[1]
print(f"Среднее арифметическое: {average}\nРазность удвоенной суммы: {doubleDiff}")