MCQ Answer

What is a correct syntax to print the first item of an array?

What is a correct syntax to print the first item of an array?

किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
Topic : NumPy Basics

A. print(arr[1])

B. print(arr,0)

C. print(arr,1)

D. None of These




Correct Answer is :

D. None of These



Explanation
the correct code to print first element of array is print(arr[0])
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz