This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s1 = 'He said ''Look over there!''';
s2_correct = 'He said ''''Look over there!''''';
assert(isequal(quote_doubler(s1),s2_correct))
ans =
'He said ''Look over there!'''
|
2 | Pass |
s1 = '''';
s2_correct = '''''';
assert(isequal(quote_doubler(s1),s2_correct))
ans =
''''
|
239 Solvers
577 Solvers
323 Solvers
160 Solvers
Flip the vector from right to left
743 Solvers