Ну как-то так
print("number 1 = ")
num1 = int(input())
print("number 2 = ")
num2 = int(input())
print("output: ", ((num1 * num1) + (num2 * num2))/ 2)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ну как-то так
print("number 1 = ")
num1 = int(input())
print("number 2 = ")
num2 = int(input())
print("output: ", ((num1 * num1) + (num2 * num2))/ 2)