Computer Science, asked by sarikakohli, 5 months ago

What will be the output f the following: >>> m=[1,2,3,4,5,6,7,8] >>>print (m[1:-1}

Answers

Answered by praghnesh8764
1

Answer:

the inverse of that dude

Answered by ssahildeep50
1

output: [2, 3, 4, 5,6,7,8]

Explanation:

but here in your case ,it will give an error because

you have type(m[1:-1} instead of (m[1:-1])

Similar questions