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))
|
3375 Solvers
594 Solvers
584 Solvers
380 Solvers
400 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!