What will be output for the following code ?
import numpy as np a=np.array([2,3,4,5]) print(a.dtype)
निम्नलिखित कोड का आउटपुट क्या होगा?
All elements in array are integer so the dtype of array is int32 or int64
What will be the output of the following Python code?
len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What is the datatype of x ?
import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
x का डेटाटाइप क्या है?
What is the output of the following code?
import numpy as np a=np.array([1,2,3,5,8]) b=np.array([0,3,4,2,1]) c=a+b c=c*a print(c[2])
निम्नलिखित कोड का आउटपुट क्या है?
What is the output of following code ?
a = np.array([[1,2,3],[4,5,6]]) print(a.shape)
What will be output for the following code?
import numpy as np a=np.array([[1,2,3],[0,1,4]]) print (a.size)