From 6bbd2fe2eb98bcf3b7bba5eb3f3f5e01baed80a7 Mon Sep 17 00:00:00 2001 From: yendoz <102748767+yendoz@users.noreply.github.com> Date: Sat, 23 Apr 2022 23:25:55 +0900 Subject: [PATCH] exercise2 6-7 I found out that the original countries array didn't have `Iceland` but there were at these two quizzes. --- 06_Day_Loops/06_day_loops.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/06_Day_Loops/06_day_loops.md b/06_Day_Loops/06_day_loops.md index c093495..720a2c7 100644 --- a/06_Day_Loops/06_day_loops.md +++ b/06_Day_Loops/06_day_loops.md @@ -408,7 +408,6 @@ for(let i = 0; i <= 5; i++){ ['Germany', 'GER', 7], ['Hungary', 'HUN', 7], ['Ireland', 'IRE', 7], - ['Iceland', 'ICE', 7], ['Japan', 'JAP', 5], ['Kenya', 'KEN', 5] ] @@ -417,7 +416,7 @@ for(let i = 0; i <= 5; i++){ 2. In above countries array, check if there is a country or countries containing the word 'land'. If there are countries containing 'land', print it as array. If there is no country containing the word 'land', print 'All these countries are without land'. ```sh - ['Finland','Ireland', 'Iceland'] + ['Finland','Ireland'] ``` 3. In above countries array, check if there is a country or countries end with a substring 'ia'. If there are countries end with, print it as array. If there is no country containing the word 'ai', print 'These are countries ends without ia'.