Problem 20
(Easy 🌟) Remove the K'th element from a list.
variable {α : Type}
def removeAt (l : List α) (n : Nat) : List α :=
sorry
-- The following codes are for test and you should not edit these.
example : removeAt ['a', 'b', 'c', 'd'] 2 = ['a', 'c', 'd'] := rfl
example : removeAt ['a', 'b', 'c', 'd'] 5 = ['a', 'b', 'c', 'd'] := rfl
example : removeAt ['a', 'b', 'c', 'd'] 0 = ['a', 'b', 'c', 'd'] := rfl
example : removeAt ['a'] 1 = [] := rfl
example : removeAt ([] : List α) 1 = [] := rfl