"Two or more characters of one string can correspond to one character of another string, but not vice versa."
This line didn't specify "which one of the string" can correspond to one character of the other string.
And nor can you tell it from the basics tests cause it only shows:
isometric_strings("foo", "bar") == False
but no expected answer for:
isometric_strings("bar", "foo") == ?
Which to my understanding should be True.
Suggestion:
Use "Two or more characters in the first string can correspond to same character of the second string, but not vice versa."
Add "isometric_strings("bar", "foo") == True" to examples so readers can tell the difference.
Created at: 2021/07/22 03:54; Updated at: 2021/09/30 10:09