Solution 1772405

Submitted on 4 Apr 2019 by Dani Péter
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
teams={'Russia','Saudi Arabia', 'Egypt', 'Uruguay', 'Portugal', 'Spain','Morocco','Iran',... 'France','Australia', 'Peru','Denmark', 'Brazil', 'Switzerland', 'Costa Rica', 'Serbia', ... 'Germany', 'Mexico', 'Sweden', 'STH Korea', 'Belgium', 'Panama', 'Tunisia', 'England' , ... 'Argentina','Iceland', 'Croatia', 'Nigeria', 'Poland', 'Senegal', 'Colombia', 'Japan'}; d=false; for i=1:numel(teams) if strcmp(Worldcup2018winner(),teams{i}) d=true; break; end end assert(d)

y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru" y = "Peru"

More from this Author18