Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Set.intersection solution in Clear category for Common Words by robert.bedner
def checkio(line1: str, line2: str) -> str:
common = set(line1.split(',')).intersection(line2.split(','))
return ",".join(sorted(common))
Jan. 14, 2022
Comments: