🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित कोड के लिए आउटपुट क्या होगा?

What will be output for the following code ?

import numpy as np
a = np.array([[1,2,3],[0,1,4]])
print (a.size)
A)
B)
C)
D)

Explanation:

Sure!

The array a has 2 rows and 3 columns, so the total number of elements is 2 * 3 = 6.

Answer: (C) 6.

Latest Updates