Computer Science, asked by bindiyapatel1406, 5 months ago

ven a list L1=[ 6 , 7.5 , 8 , 9.5 , [3 , 6 , 9 , 12] , 10]

a) Which list slice will return [8 , 9.5 , [3 , 6 , 9 , 12]]

b) Which expression will return [ 3,6,9,12]

c) Which list slice will return [3 , 6 , 9 ,12]

d) Which list slice will return [ 7.5 , 9.5 , 10]​

Answers

Answered by RuwaisnZaid
1

Explanation:

a) L1[2:5]

b) L1[4][0]

c)L1[4:5][0]

d)L1[1:6:2]

Follow me "/*

Similar questions