-
3 Comments
Eric Miller
on 24 Oct 2017
This passes in R2017b, yet fails here. Why?
David Verrelli
on 6 Nov 2017
Actually this code won't pass the Test Suite on any version of MATLAB. The misunderstanding is caused by rendering of HTML text on Cody, which means that double-spaces are not _displayed_ in the Test Suite's solutions; nevertheless, the correct solutions do contain double spaces, as you can confirm by viewing the HTML source, and as also explained in the problem statement. Your code is removing some spaces. I'm sure you can fix it now, with this knowledge.
Eric Miller
on 6 Nov 2017
Thanks for clarifying. I appreciate it.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!