Question: given 3 real numbers a,b, and c, complete the function beverage () to output the average of the absolute value of the 3 numbers -2

given 3 real numbers a,b, and c, complete the function beverage () to output the average of the absolute value of the 3 numbers

-2 4 6
63 -55 -134

2,4,6

def absAverage(a, b, c): # Write your code here

if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') first_multiple_input = raw_input().rstrip().split() irst_multiple_input = raw_input().rstrip().split() a = int(first_multiple_input[0])

b = int(first_multiple_input[1])

c = int(first_multiple_input[2])

fptr.write(str(avg) + ' ')

fptr.close()

avg = absAverage(a, b, c)

fptr.write(str(avg) + ' ') fptr.close()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!