Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCAP-31-03 Topic 5 Question 28 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 28
Topic #: 5
[All PCAP-31-03 Questions]

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]

Show Suggested Answer Hide Answer
Suggested Answer: C


Contribute your Thoughts:

Jennifer Burke
2 years ago
[False, False, False, False, False, False, False] The correct answer is 7
upvoted 1 times
...

Save Cancel