The following program demonstrates How to Find the Average of Three Numbers in Python.
# programmingempire.com
# Compute Average of three numbers
# number1 = int(input("Enter the first number:"))
# number2 = int(input("Enter the second number:"))
# number3 = int(input("Enter the third number:"))
# average = (number1+number2+number3)/3
# print("The average of", number1,number2,number3, "is",average)
#Simultaneous Assignments
number1,number2,number3 = eval(input("Enter three numbers separated by commas:"))
average = (number1+number2+number3)/3
print("The average of", number1,number2,number3, "is",average)
Output
Further Reading
Examples of OpenCV Library in Python
A Brief Introduction of Pandas Library in Python