MCQ Answer

What does ndarray.shape return?

What does ndarray.shape return?

ndarray.shape क्या return करता है?
Topic : NumPy Basics

A. Tuple of array dimensions

B. Total elements

C. Data type

D. Memory size




Correct Answer is :

A. Tuple of array dimensions



Explanation
NumPy's shape attribute returns the size of the array along each dimension as a tuple.

NumPy में shape array के प्रत्येक dimension का size tuple के रूप में return करता है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad