Created
November 8, 2018 16:03
-
-
Save Aloxaf/7f15bb9060126724f11b4bd1d473e79b to your computer and use it in GitHub Desktop.
栅栏密码
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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