Computer Science, asked by Calo20, 2 months ago

Write a program to accept two numbers and print it's Sum using html. Please it's urgent

Answers

Answered by 36726
1

Answer:

Explanation:

def sum(x,y):

   return x+y

def avg(x,y):

   return sum(x,y)//2

a= int(input("Enter first number:"))

b= int(input("Enter second number:"))

print("Sum of the given two numbers is: ", sum(a,b))

print("Average of the given numbers is: ", avg(a,b))

Similar questions