def split_two_parts(list1, L): return list1[:L], list1[L:]