4.
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse() ?

[3, 4, 5, 20, 5, 25, 1, 3].

[1, 3, 3, 4, 5, 5, 20, 25].

[25, 20, 5, 5, 4, 3, 3, 1].

[3, 1, 25, 5, 20, 5, 4, 3].

5.
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5]) ?

[3, 4, 5, 20, 5, 25, 1, 3, 34, 5].

[1, 3, 3, 4, 5, 5, 20, 25, 34, 5].

[25, 20, 5, 5, 4, 3, 3, 1, 34, 5].

[1, 3, 4, 5, 20, 5, 25, 3, 34, 5].

6.
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop(1) ?

[3, 4, 5, 20, 5, 25, 1, 3].

[1, 3, 3, 4, 5, 5, 20, 25].

[3, 5, 20, 5, 25, 1, 3].

[1, 3, 4, 5, 20, 5, 25].

7.
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()?

[3, 4, 5, 20, 5, 25, 1].

[1, 3, 3, 4, 5, 5, 20, 25].

[3, 5, 20, 5, 25, 1, 3].

[1, 3, 4, 5, 20, 5, 25].

0Shares
0
Scroll to Top