This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'I played piano. John played football. Anita went home. Are you safe?';
y = {'I played piano.' 'Anita went home.' 'Are you safe?'};
assert(isequal(lazy(x),y))
|
2 | Pass |
%%
x = 'Are you okay? Who are you? Olga will call you. Sam saw me.';
y = {'Olga will call you.'};
assert(isequal(lazy(x),y))
|
3075 Solvers
Reverse the Words (not letters) of a String
297 Solvers
348 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
136 Solvers
Side of an equilateral triangle
2595 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!