From 8cd2bd0ff8f161e52760f268dde60377453c876b Mon Sep 17 00:00:00 2001 From: sapiensFactor Date: Tue, 6 Jun 2023 00:59:17 +0530 Subject: [PATCH] Iceland is not in the countries array, so removed it from output --- 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 e7c7f3f..71a5287 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 ending with a substring 'ia'. If there are countries ending with 'ia', print it as array. If there is no country containing the substring 'ia', print `These are no countries end with 'ia'`.