num1=int (input("Enter the first number: "))
num2=int (input("Enter the second number: "))
avg=(numi+num2)/2
dev1=num1-avg
dev2=num2-avg
print("AVERAGE = ", avg)
print("Deviation of first num=",devi)
print("Deviation of second num=",dev2).

Embed on website

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