Report Bug

Qus

What will be the output of the following ?

import numpy as np
a = np.array( [2, 3, 4, 5] )
b = np.arange(4)
print(a+b)
Qus

निम्नलिखित कोड का आउटपुट क्या होगा ?

import numpy as np
a = np.array( [2, 3, 4, 5] )
b = np.arange(4)
print(a+b)


A. [2 3 4 5]
B. [3 4 5 6]
C. [1 2 3 4]
D. [2 4 6 8]


Solution
D. [2 4 6 8]



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad