What will be the output f the following: >>> m=[1,2,3,4,5,6,7,8] >>>print (m[1:-1}
Answers
Answered by
1
Answer:
the inverse of that dude
Answered by
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