MCQ Answer

What is a correct syntax to check the number of dimensions in an array?

What is a correct syntax to check the number of dimensions in an array?

ऐरे में डायमेंशन की संख्या की जांच करने के लिए सही सिंटैक्स क्या है?
Topic : NumPy Basics

A. np.ndim(array_name)

B. array_name.ndim()

C. np.dim(array_name)

D. array_name.dim




Correct Answer is :

A. np.ndim(array_name)



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