From 694d4879066e492bdbb83faf74d0cd9991051410 Mon Sep 17 00:00:00 2001 From: Sagar_Jana Date: Tue, 6 Jan 2026 17:51:23 +0530 Subject: [PATCH 1/2] Update README.md --- exercises/16-Random-Colors-Loop/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/16-Random-Colors-Loop/README.md b/exercises/16-Random-Colors-Loop/README.md index e72e5e9f..27f7604e 100644 --- a/exercises/16-Random-Colors-Loop/README.md +++ b/exercises/16-Random-Colors-Loop/README.md @@ -12,7 +12,7 @@ Let's say that we are teachers in a 10 student classroom, and we want to randoml ## 📝 Instructions: -1. Change the function `get_allStudentColors` so it returns a list of 10 colors, where each item in the list represents the color assigned to each student. +1. Change the function `get_allStudentColors` so it returns a list of 20 colors, where each item in the list represents the color assigned to each student. ## 💡 Hints: From dc46bb8230537e2dbea4abf7d16191071d911a27 Mon Sep 17 00:00:00 2001 From: Sagar_Jana Date: Tue, 6 Jan 2026 17:52:00 +0530 Subject: [PATCH 2/2] Update solution.hide.py --- exercises/16-Random-Colors-Loop/solution.hide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/16-Random-Colors-Loop/solution.hide.py b/exercises/16-Random-Colors-Loop/solution.hide.py index caa17fb9..c52662e1 100644 --- a/exercises/16-Random-Colors-Loop/solution.hide.py +++ b/exercises/16-Random-Colors-Loop/solution.hide.py @@ -20,7 +20,7 @@ def get_allStudentColors(): example_color = get_color(1) students_array = [] # ✅ ↓ your loop here ↓ ✅ - for i in range(10): + for i in range(20): students_array.append(get_color(random.randint(0,3))) return students_array