Exam4Training

What is the expected behavior of the following code?

What is the expected behavior of the following code?

A . the code is erroneus and it will not execute
B . it outputs [2, 4]
C . it outputs [4, 2]
D . it outputs [0, 1, 2, 3, 4]

Answer: C

Exit mobile version