Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First: a bunch of string-wrangling and intersection solution in Clear category for Common Words by leggewie
def checkio(line1: str, line2: str) -> str:
s1, s2 = line1.split(","), line2.split(",")
return ",".join(sorted(set(s1).intersection(set(s2))))
June 12, 2021