Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'This is cool!';
y_correct = 1;
assert(isequal(punctuation(x),y_correct))
ans =
1
|
2 | Pass |
%%
x = '!?! Are you kidding !?!';
y_correct = 6;
assert(isequal(punctuation(x),y_correct))
ans =
6
|
3 | Pass |
%%
x = 'Nope....';
y_correct = 4;
assert(isequal(punctuation(x),y_correct))
ans =
4
|
14356 Solvers
Create a function handle that reverses the input arguments of another function handle
118 Solvers
441 Solvers
198 Solvers
325 Solvers