Cody

# Problem 462. letter yes yes & letter no no

Solution 1421658

Submitted on 21 Jan 2018 by Eran Shvartzman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
LynLyn='You are @#\$#@*& very kind'; [Lyy Lnn]=LyyLnn(LynLyn); Ly='Youareverykind'; Ln=' @#\$#@*& '; assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))

v = 89 111 117 32 97 114 101 32 64 35 36 35 64 42 38 32 118 101 114 121 32 107 105 110 100 Lyy = 89 111 117 97 114 101 118 101 114 121 107 105 110 100 Lnn = 32 32 64 35 36 35 64 42 38 32 32

2   Pass

v = 80 108 101 97 115 101 32 119 114 105 116 101 32 109 101 32 115 111 111 110 Lyy = 80 108 101 97 115 101 119 114 105 116 101 109 101 115 111 111 110 Lnn = 32 32 32

3   Pass
LynLyn='12+12=23 wrong'; [Lyy Lnn]=LyyLnn(LynLyn); Ly='wrong'; Ln='12+12=23 '; assert(isequal(Ly,Lyy)&isequal(Ln,Lnn))

v = 49 50 43 49 50 61 50 51 32 119 114 111 110 103 Lyy = 119 114 111 110 103 Lnn = 49 50 43 49 50 61 50 51 32

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!