Calculate Arithmetic Mean of Three Numbers

  • Share this:

Code introduction


Calculate the arithmetic mean of three numbers, which is the sum of the three numbers divided by the number of numbers.


Technology Stack : Built-in Python libraries

Code Type : Mathematical calculation

Code Difficulty :


                
                    
def aaaa(a, b, c):
    """
    计算三个数字的算术平均值。
    """
    return (a + b + c) / 3