Problem 507. Back to basics 26 - Keywords

Solution 2510651

Submitted on 10 Jun 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
y_correct = {'break';'case';'catch';'classdef';'continue';'else';'elseif'; 'end';'for'; 'function'; 'global'; 'if'; 'otherwise'; 'parfor'; 'persistent'; 'return'; 'spmd'; 'switch'; 'try'; 'while'}; assert(isequal(keywords,y_correct))

Unrecognized function or variable 'keywods'. Error in keywords (line 2) y = {keywods}; Error in Test1 (line 2) assert(isequal(keywords,y_correct))

Suggested Problems

More from this Author39