OverIQ.com
Run (or Hit F9)
list1 = [11, 33, 55, 22, 44, 89] print(list1[:2]) # same as list1[0:2] print(list1[2:]) # same as list1[2:len(list1)] print(list1[:]) # same as list1[0:len(list1)]