Practice Test Geeks home

Cognizant Coding and Programming Round 1

What will be the output of the following Python code?
```python

x = [1, 2, 3]

y = x

y.append(4)

print(x)

```

Select your answer