Is this lst + element works on O(1) complexity or O(n)?
lst + element
O(1)
O(n)
def delete1(lst, x): return [e for e in lst if e!=x] def delet