Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner solution in Clear category for Common Words by swagg010164
def checkio(first, second):
return ','.join(el for el in sorted([elem for elem in first.split(",") if elem in second.split(",")]))
Dec. 8, 2019