Site icon Exam4Training

What does the second assignment do?

Consider the following code.

What does the second assignment do?
A . It shortens the list.
B . It reverses the list.
C . It doesn’t change the list.
D . It extends the list.

Answer: B

Exit mobile version