• Stuck!

Question related to mission Non-unique Elements

 

def checkio(data): newlist=list() for number in data: if data.count(number)>1: newlist.append(number) return (data)

Please tell me what is wrong here?