Guest User

Untitled

a guest
Jan 19th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. In [19]: res = [a[i:i+4] for i in range(len(a)//4)]
  2.  
  3. In [20]: res
  4. Out[20]:
  5. [[9, 1, 9, 74888],
  6. [1, 9, 74888, 29],
  7. [9, 74888, 29, 2],
  8. [74888, 29, 2, 29],
  9. [29, 2, 29, 55586]]
Add Comment
Please, Sign In to add comment