Cody

Problem 35. Quote Doubler

Solution 2132073

Submitted on 18 Feb 2020
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   Fail
s1 = 'He said ''Look over there!'''; s2_correct = 'He said ''''Look over there!'''''; assert(isequal(quote_doubler(s1),s2_correct))

Assertion failed.

2   Fail
s1 = ''''; s2_correct = ''''''; assert(isequal(quote_doubler(s1),s2_correct))

Assertion failed.