So, I've done this in an IDE on my tablet and this runs perfectly and removes the word rose, leaves alone the word lyre, and doubles the word love. However, when I submit it for grading it says condition 2 (remove words with the letter r that do not have the letter l) fails. Any thoughts on how to fix this?
I have tested this in another IDE and it works perfectly, but fails test 2
You must be signed in to leave a comment
This page doesn't have any comments yet