def remove_smallest(ratings: list) -> list:
    """Remove the smallest rating from list."""
    if ratings:
        min_, index_ = ratings[0], 0
        for index, score in enumerate(ratings):
            if score < int(min_):
                min_ = score
                index_ = index
        ratings.pop(index_)
    return ratings