#try to avoid input function a = [1,2,3,4,5,6,7,8,9,0] b = a[0:len(a):2] for i in range(len(b)): a.remove(b[i]) print(a)
Click the run button. Try to avoid input() function.