Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2 lines of code solution in Clear category for Common Words by Anja_Romashova
def checkio(line1: str, line2: str) -> str:
line1, line2 = set(line1.split(',')), set(line2.split(','))
return ','.join(sorted(line1 & line2))
Aug. 4, 2020