Consider the following lines of Python code. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 3

Consider the following lines of Python code.

a = 'nptel' b = [12,14,16] c = 72 x = [a,b,c] y = [a,b[:],c] u = x[:] v = y b = [12,17,16] v[1][1] = 15

21st Feb 2018, 7:52 AM
rama devi
rama devi - avatar
3 Réponses
+ 2
Did you press post before you finished writing the question?
21st Feb 2018, 12:46 PM
Jacob Pembleton
Jacob Pembleton - avatar
- 1
x= [13,4,17,1000] w=x[1:] u=x[1:] y=x u[0]=50 y[1]=40 which answer ples
9th Aug 2019, 2:46 PM
videsh joshi
- 2
x[1][1] == 14, y[1][1] == 15, u[1][1] == 14, v[1][1] == 15
21st Feb 2018, 8:17 AM
rama devi
rama devi - avatar