def chunkArray(arr, size):#задача #coding
chunked = []
index = 0
while index < len(arr):
chunked.append(arr[index:index+size])
index += size
return chunked
Post #1908
4.73K
Ответ к предыдущей задаче для новичков
- 👍 1