num1 = float(input())
num2 = float(input())
average = (num1 ** 3 + num2 ** 3) / 2 
print("Среднее арифметическое кубов двух чисел: ", average)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: