def get_complexity_message(complexity):
    """
    Get complexity (int type) and return message
    """
    if complexity > 40:
        return 'Very high risk - error-prone, unstable block'
    elif complexity > 30:
        return 'High risk - complex block, alarming'
    elif complexity > 20:
        return 'More than moderate risk - more complex block'
    elif complexity < 10:
        return 'Low risk - well structured and stable block'
    return 'Moderate risk - slightly complex block'
