def assign_severity_description(x):
    """
    This function returns aa textual representation of the severity as a string.
    :param x: integer value being one of the values for severity
    :return: string representation of the integer value
    """

    if x['SEVERITY'] == 1:
        return "Fatal accident"
    elif x['SEVERITY'] == 2:
        return "Serious injury accident"
    elif x['SEVERITY'] == 3:
        return "Other injury accident"
    elif x['SEVERITY'] == 4:
        return "Non injury accident"
    else:
        return "Non injury accident"