def get_like_text(is_liked, likes_count):
    """
    Returns a text description of the likes

    is_liked is True if the user liked the object for
    which the description is being returned

    likes_count is the number of the likes on the object
    for which the description is being returned
    """
    like_text = ''
    if is_liked:
        likes_count -= 1
        if likes_count >= 2:
            like_text = f'Liked by you and {likes_count} others'
        elif likes_count == 1:
            like_text = f'Liked by you and 1 other'
        else:
            like_text = f'Liked by you'
    else:
        if likes_count > 1:
            like_text = f'Liked by {likes_count} others'
        elif likes_count == 1:
            like_text = f'Liked by 1 other'

    return like_text