def remove_column(list1, n): for i in list1: del i[n] return list1