String conversion test case not working

One test case is not working. What is the problem with my code?
Here is my code-

@LPLC0059 when both string are same then they are not unit edit distance apart!
eg:
“teach”
“teach”
answer is False as edit distance is 0 and not 1

Oh Okay, Thank you. I thought that we had to print true if both the strings are same.

You may Mark doubt as resolved is clear, else ask further!