Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Common Words by MaciejKrasny
def checkio(first, second):
a=first.split(",")
b=second.split(",")
lista=[]
for i in a:
for j in b:
if i==j:
lista+=[j]
return ",".join(sorted(lista))
Nov. 25, 2016