Skip to content

Instantly share code, notes, and snippets.

@Aloxaf
Created November 8, 2018 16:03
Show Gist options
  • Save Aloxaf/7f15bb9060126724f11b4bd1d473e79b to your computer and use it in GitHub Desktop.
Save Aloxaf/7f15bb9060126724f11b4bd1d473e79b to your computer and use it in GitHub Desktop.
栅栏密码
def array_split(A, k):
return [A[i:len(A):k] for i in range(k)]
# by std_xris @ telegram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment