Write A Python Program To Find Average Of Two Numbers Enter By The User?

 Write A Python Program To Find Average Of Two Numbers Enter By The User? 





Code:

num1 = int(input("Enter The Number 1 :"))
num2 = int(input("Enter The Number 2 :"))
average = ((num1+num2)/2)
print("The average of Number1 and Number2 is :",average)

Output:








Download Source Code




Comments

Popular posts from this blog

Write A Python Program, Create n Empty Dictionary Allow 4 Friends To, Enter Their Favorite Programming Language As values and User Keys as their Name Assume That The Names Are Unique.

Write Python Program To Store Seven Fruits Name In a List Enter By The User