+ 2

Pls help me with the logic

import numpy as np a = np.array([5,6], [2,8]) print(np.min(a))

24th Oct 2018, 6:48 AM
AMAN TOMAR
AMAN TOMAR - avatar
3 Antworten
+ 3
KrOW yes u r right.thank you
24th Oct 2018, 7:41 AM
AMAN TOMAR
AMAN TOMAR - avatar
24th Oct 2018, 6:50 AM
AMAN TOMAR
AMAN TOMAR - avatar
0
i think that you have wrong writed array declaration. its a= np.array([[5,6], [2,8]]) anyway you create an multidimensional array (a) and print the minimum item with np.min
24th Oct 2018, 7:39 AM
KrOW
KrOW - avatar