(Cognizant) Cognizant Test Practice Test

Cognizant Coding and Programming Round

Free · Instant Results

What will be the output of the following Python code? ```python x = [1, 2, 3] y = x y.append(4) print(x) ```
▶ Start Practice Test