Light Mode
Dark Mode
task Non-unique Elements help

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: March 5, 2020, 9:42 a.m.
Updated: March 6, 2020, 9:47 a.m.
0
11
User avatar
Max_Fiona