income = [['211', '218', '108'], ['218', '108', '548']]
outcome = [[{211},{218},{108}],[{218},{108},{548}]]
def toset(argument):
for number, element in enumerate(argument):
argument[number] = set()
argument[number].update({int(element)})
return argument
print(list(map(toset, income)) == outcome)