python take parts of an array code example Example: python part of array >>> a = [1, 2, 3, 4, 5, 6, 7, 8] >>> a[1:4] [2, 3, 4]