Answer:
print(myList[1:4])
Step-by-step explanation:
Hi,
To print 2nd element to 4th element in myList, we can use the following line of code: print(myList[1:4]).
The basic construct in Python is list[start:end], which returns a new list containing the elements that start at start index (including the element at that position) and go up to end but not including the element at position end.
Good luck!