Possible bug in test C2W1 assignment UNQ_C9 - edit_two_letters function

In case people are still having issues, here is my take on this -
The function “edit_one_letter” has “allow_switches==True”; “edit_two_letters” also has " allow_switches==True" as an input and so when you call " allow_switches" inside this function, use the function input variable rather than True/False.
Hope this helps!

2 Likes

Thank you for your clear and simple solution. It worked for me.

yap this is the correct solutions thanks a lot bro

Thanks so much I was stuck on this same issue and this was a massive help!

I have followed alle the suggestions to implement the “allow_switches” on both ‘edit_one_letters’ & ‘edit_two_letters’. But I keep getting this fail in the test:

Wrong output type.
Expected: 14352.
Got: 14354.
19 Tests passed
1 Tests failed

Anyone have a suggestion to what might be the case here ?
Any help is very appreciated
Bw. Manu

could anyone give us more hint about it?
It’s still difficult for us to figure out what’s wrong with it.
Thank you very much.