Previous Up Next

5.9.7 Checking for a permutation: is_permu

A permutation can be written as a list, but not every list corresponds to a permutation. The is_permu is a boolean function which checks to see if a given list is a permutation.

Examples


Previous Up Next