+ 3
(SOLVED!) Help me please to solve a Sololearn task
Hey, guys! I need your help to solve Pig Latin task. So, when I first wrote my code I failed to pass 2 out of 5 tests (the tests I failed are "closed" ones). Then I thought that maybe it happened because I forgot to get rid of the punctuation so I updated my code and checked it in my development environment, every worked well. But in Sololearn I still fail to pass the very 2 tests from the beginning.Has anyone of you solved this task and can check my code? I'll be really grateful for your answers. Thanks in advance!đ https://code.sololearn.com/cp868YUY18zS/?ref=app
2 Answers
+ 9
Sky
i = i.replace(fir, '') X # this replaces dublicates also, not only first letter.
+ 6
Thank you so much! It did work! Thank you đ