Question from the Python test

What is the output of the following code?

Easy

What is the output of the following code?

a = [1, 2, 3, 4]
b = a
a.append(5)
print(b)

Author: Amani BEN HADJ BRAIEKStatus: PublishedQuestion passed 24 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!