+ 3
What's wrong in this??
l=list(map(int,input().strip().split())) p=len(l) j=1 for i in range(0,p): if(j<p): if(l[i]==l[j]): print("hi") l.remove(l[i]) j=j+1
5 Respostas
+ 2
i run the code with some input values, and it does work properly. What input value did cause your problem?
0
100 100 50 40....this cause error