Trouble in the test suite :)
I think the problem is with Cody itself today. It's doing weird things. If you submit this solution again it fails.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
x = 'This is cool!';
y_correct = 1;
assert(isequal(punctuation(x),y_correct))
Error: Assertion failed.
|
2 | Fail |
%%
x = '!?! Are you kidding !?!';
y_correct = 6;
assert(isequal(punctuation(x),y_correct))
Error: Assertion failed.
|
3 | Fail |
%%
x = 'Nope....';
y_correct = 4;
assert(isequal(punctuation(x),y_correct))
Error: Assertion failed.
|
Construct a string from letters and counts
113 Solvers
307 Solvers
337 Solvers
176 Solvers
324 Solvers