Computer Science, asked by shriajamwal321, 4 months ago

Given the lists L1=(1,3,6,82,5,7,11,92], write the
output of
print (L[2:-4])
FR​

Answers

Answered by Anonymous
2

Answer:

hello,

Explanation:

if L=[1,3,6,82,5,7,11,92]

So,

print (L[2:-4])

will return...

[6,82]

______________

as,start value is int element with index 2 that is 6

and the the stop value is the element with index -4 that is 5 , but we consider the element as stop value-1 which is index of -5 that is 82

hence the output is :

[6,82]

_______________

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions