#try to avoid input function a = [1,2,3,4,3,2,1,8,7,6,5,4,9,0,8,0,8,6,4,3,2] a = list(set(a))## or use a = [*set(a)] print(a)
Click the run button. Try to avoid input() function.