Files

163 B

Fix the off-by-one in last_n

last_n(xs, n) in lib.py must return the last n items of the list, but it returns one too few. Fix it. Do not change the tests.