#task14

Published: 03 January 2021
on channel: 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]])]
"""


On this page of the site you can watch the video online #task14 with a duration of hours minute second in good quality, which was uploaded by the user Python Developer 03 January 2021, share the link with friends and acquaintances, this video has already been watched 152 times on youtube and it was liked by 4 viewers. Enjoy your viewing!