Site icon Exam4Training

Which of the code snippets below would produce a new list like the following?

Consider the following list.

data = [1, 5, 10, 19, 55, 30, 55, 99]

Which of the code snippets below would produce a new list like the following?

[1, 5, 10, 99]

A )

B )

C ) None of the above.

D )

E )

A . Option A
B . Option B
C . Option C
D . Option D
E . Option E

Answer: D

Exit mobile version