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.
|
Determine if a Given Number is a Triangle Number
322 Solvers
401 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
Back to basics 25 - Valid variable names
293 Solvers
Create a Multiplication table matrix...
283 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!