[lang-ref] ( sequence_n_to_1 ) ( python )

def test_sequence_n_to_1():
    # range(n, 0, -1)
    assert list(range(5, 0, -1)) == [5, 4, 3, 2, 1]