NIELIT O Level Exam

What does np.ones((2,3)) create?

What does np.ones((2,3)) create?

np.ones((2,3)) क्या create करता है?

A. 2 rows, 3 columns of ones

B. 3 rows, 2 columns of ones

C. 6×6 matrix

D. 1D array




Correct Answer is :

A. 2 rows, 3 columns of ones



Explanation
(2,3) specifies two rows and three columns.

(2,3) का अर्थ 2 rows और 3 columns है, जिनमें सभी values 1 होती हैं।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad