Write a function that calculates the average of three numbers
def avg(x, y, z): 
    return (x + y + z) / 3
def calculateAverage(x, y, z): 
    return (x + y + z) / 3 
  
print(calculateAverage(2, 4, 6))

Output: 3.33333