Skip to content

Pattern: PSubsequence

Returns a finite subsequence of an input pattern.

Example output

>>> p = PSubsequence(PSeries(0, 1), 2, 4)
>>> p.nextn(16)
[2, 3, 4, 5]