arr = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J']print(arr[3:6])
8
['D', 'E', 'F']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!