def checkio(data: list) -> list:
for i in data:
if data.count(i)==1:
data.remove(i)
return data
when run the code above, 2nd example can not pass, but other exapmles are ok.
I don't kown why. please help !
Created at: 2020/03/05 09:42; Updated at: 2020/03/06 09:47