In Exercise 9, I have two problems.
1- Problem in edit_two_letter()
All my prior functions work fine but edit two functions has different output. Difference in out is as below. I will appreciate any insights. (For two edit I remove all empty string and strings length > len(orignal string)+2)
Its not easy for us to guess where the mistake might be in the code, I would suggest to have a look at the test_edit_two_letters function in the w1_unittest which can be found in Files-> Open.
Maybe that gives you an idea as to which tests you are failing more specifically!
I believe @peeyush_sahu is correct. The “got” parts are missing the conversion to list and when the learner’s implementation does not pass the assert statement, the resulting error message would cause an error itself