def calc_bmi(mass, height):
    """Calculates BMI from specified height and mass

    BMI(kg/m2) = mass(kg) / height(m)2

    Arguments:
        mass {float} -- mass of the person in KG
        height {float} -- height of the person in meters

    Returns:
        bmi {float} -- Body Mass Index of the person from specified mass and height
    """
    bmi = mass/(height**2)
    bmi = round(bmi, 1)  # rounding off to 1 digit after decimal
    return bmi