Computer Science, asked by nithyasrinsj1, 5 months ago

given a list L1 = [3,4.5,12,25.7,[2,1,0,5],88]
1. which expression will return [2,1,0,5]?
2. which list slice will return [[2,1,0,5]]?
3. which list slice will return [4.5,25.7,88]?
write the whole program?

Answers

Answered by yashikagupta16
2

Answer:

1. >>>L1[4]

2.>>>L1[4][:]

3.L1[1:2]

this is the answers hope this will be helpful for you

Similar questions