Computer Science, asked by pthemsksai12, 3 months ago

Q26. Write a program in Python to input three numbers and find the average of those 3 numbers.​

Answers

Answered by srishti539
1

Explanation:

a = int(raw_input("Enter a value : ")) # value 1

b = int(raw_input("Enter b value : ")) # value 2

c = int(raw_input("Enter c value : ")) # value 3

# Calculating the average

average = (a + b + c) / 3

# Printing the average

print ("The average is: " + str(average))

Output :

Enter value a : 1

Enter value b : 2

Enter value c : 3

The average is: 2.0

Answered by saikumar3041
1

Explanation:

u can find it in the Google I got it now it self

pls follow me and mark it as brainliest

Similar questions