#task14

Publicado el: 03 enero 2021
en el canal de: Python Developer
152
4

#task14
def function14():
Create an 8X3 integer array from a range between 10 to 34 such that the difference between each element is 1 and then Split the array into four equal-sized sub-arrays.
Hint use split method


arr = numpy.arange(10, 34, 1) #write reshape code
ans = #write your code here

return ans

"""
Expected Output:
[array([[10, 11, 12],[13, 14, 15]]),
array([[16, 17, 18],[19, 20, 21]]),
array([[22, 23, 24],[25, 26, 27]]),
array([[28, 29, 30],[31, 32, 33]])]
"""


En esta página del sitio puede ver el video en línea #task14 de Duración hora minuto segunda en buena calidad , que subió el usuario Python Developer 03 enero 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 152 veces y le gustó 4 a los espectadores. Disfruta viendo!