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: 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