Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Surjection Strings by tokiojapan55
def isometric_strings(str1: str, str2: str) -> bool:
table = [d[0] for d in list(set([(c1,c2) for c1,c2 in zip(str1, str2)]))]
return len(table) == len(set(table))
June 23, 2020