"""For Loops and Lists worksheet code.
"""


def collect_underperformers(nums: list[int], threshold: int) -> list[int]:
    """Return a new list consisting of those numbers in nums that are
    below threshold, in the same order as in nums.

    >>> collect_underperformers([1, 2, 3, 4], 3)
    [1, 2]
    >>> collect_underperformers([1, 2, 100, 3, 4], 50)
    ???
    >>> collect_underperformers([], 7)
    ???
    """

    pass


def scale_midterm_grades(grades: list[int], multiplier: int,
                         bonus: int) -> None:
    """Modify each grade in grades by multiplying it by multiplier and
    then adding bonus. Cap grades at 100.

    >>> grades = [45, 50, 55, 95]
    >>> scale_midterm_grades(grades, 1, 10)
    >>> grades
    ???
    """

    pass


if __name__ == '__main__':

    import doctest
    doctest.testmod()
