Home /
Expert Answers /
Computer Science /
after-the-following-script-is-executed-what-is-the-contents-of-sublist-mylist-0-1-2-3-4-5-6-s-pa881
(Solved): After the following script is executed; what is the contents of subList?
myList = [0,1,2,3,4,5,6]
s ...
After the following script is executed; what is the contents of subList?
myList = [0,1,2,3,4,5,6]
subList = myList[:5]
Group of answer choices
[0,1,2,3,4,5]
[0,1,2,3,4]
[4,5,6]
[0,1,2,3]
[]