List[a:b] will give the elements between a and b.
3 Likes
False
Reason — List[a:b] will give the elements between a and b-1.
a
b-1
Answered By
A list is stored in memory as integer.
The command [1,2,3,4,]<[9,1] will give the output as True.
The append() function is used to add a value in a list at any place.
index() function will return the index of first matched item from the list.