Skip to content

Instantly share code, notes, and snippets.

@code-review-doctor
Created April 26, 2022 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save code-review-doctor/990ce8bc2cbfab6642cbde58a075b766 to your computer and use it in GitHub Desktop.
Save code-review-doctor/990ce8bc2cbfab6642cbde58a075b766 to your computer and use it in GitHub Desktop.
raise ValueError(
'invalid permutation element: elements must be from {-len(perm), ..., len(perm)-1}'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment