Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Common Words by McRawicz
def checkio(first, second):
f=first.split(",")
s=second.split(",")
common_words=[]
for i in f:
for j in s:
if i==j:
common_words.append(i)
common_words.sort()
x=""
for i in common_words:
x+=i+","
if len(x):
return x[:len(x)-1]
return x
Nov. 26, 2016