def checkio(*data):
total = []
result = []
for i in data:
total.append(i)
for y in total:
ctr = total.count(y)
if ctr > 1:
result.append(y)
return result
the compilator on the site puts square brackets between values of my function, that's why my code doesn't work properly. It works fine without them. How to fix it? Thank you in advance.
Created at: 2016/02/18 21:38; Updated at: 2016/02/19 16:24