#task14

Pubblicato il: 03 gennaio 2021
sul canale di: 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]])]
"""


In questa pagina del sito puoi guardare il video online #task14 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Python Developer 03 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 152 volte e gli è piaciuto 4 spettatori. Buona visione!