Report Bug

Qus

What will be the output of the following ?

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

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

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


A. [2 4 1]
B. [3 4 1]
C. [2 3 1]
D. [2 4 3]


Solution
C. [2 3 1]



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