What is the expected output of the following code?

What is the expected output of the following code?

A . [1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]
B . [1, 2, 10, 20, 30, 40, 50, 60]
C . The code is erroneous.
D . [10, 2, 20, 4, 30, 6, 40, 8, 50, 60]

Answer: C

Latest PCEP-30-02 Practice Questions with 124 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments