MCQ Answer

What is the output of np.arange(1,10,2)?

What is the output of np.arange(1,10,2)?

np.arange(1,10,2) का output क्या होगा?
Topic : NumPy Basics

A. [1,3,5,7,9]

B. [1,2,3,4,5]

C. [2,4,6,8]

D. Error




Correct Answer is :

A. [1,3,5,7,9]



Explanation
It starts at 1, increases by 2, and stops before 10.

यह 1 से शुरू होकर step 2 से बढ़ता है और 10 से पहले रुकता है।
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