How many elements will the list2 list contain after execution of the following snippet?
How many elements will the list2 list contain after execution of the following snippet?
list1 = [False for i in range (1, 10) ]
list2 = list1 [-1:1:-1]
A . zero
B . five
C . seven
D . three
Answer: C
Latest PCAP-31-03 Practice Questions with 109 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments