#!/usr/bin/env python3
matrix = [[1, 3, 9, 4, 5, 8], [2, 4, 7, 3, 4, 0], [0, 3, 4, 6, 1, 5]]
the_middle = []
# your code here
the_middle = [matrix[i][2:4] for i in range(3)]
print("The middle columns of the matrix are: {}".format(the_middle))

#!/usr/bin/env python3
matrix = [[1, 3, 9, 4, 5, 8], [2, 4, 7, 3, 4, 0], [0, 3, 4, 6, 1, 5]]
the_middle = []
# your code here
the_middle = [matrix[i][2:4] for i in range(3)]
print("The middle columns of the matrix are: {}".format(the_middle))

#!/usr/bin/env python3 # your code here