File size: 70 Bytes
1514a0b
 
1
2
def remove_kth_element(list1, L):
    return list1[:L - 1] + list1[L:]