From f8e8bbce9f363e6359f3caac4cc49c150b5e5b12 Mon Sep 17 00:00:00 2001 From: Tomas Gomez <89491872+GomezTomas@users.noreply.github.com> Date: Thu, 23 Apr 2026 18:49:36 -0300 Subject: [PATCH] Fix ages list for statistics examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit in commit: https://github.com/Asabeneh/30-Days-Of-Python/commit/3b7d61657cee6420f5c5fae7d6498aa79bf2d02b#diff-081ab49013cc1db7ed5a7b8ae89e904b23b0ad6304d648d223e47ab8e23e2e19L165 the `ages` list was changed (24 → 4), so the expected results (~22.9, 23, 20, and ~2.3) no longer match. --- 12_Day_Modules/12_modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Day_Modules/12_modules.md b/12_Day_Modules/12_modules.md index 07508a88b..4e188a3b5 100644 --- a/12_Day_Modules/12_modules.md +++ b/12_Day_Modules/12_modules.md @@ -163,7 +163,7 @@ The statistics module provides functions for mathematical statistics of numeric ```py from statistics import * # importing all the statistics modules -ages = [20, 20, 4, 24, 25, 22, 26, 20, 23, 22, 26] +ages = [20, 20, 24, 24, 25, 22, 26, 20, 23, 22, 26] print(mean(ages)) # ~22.9 print(median(ages)) # 23 print(mode(ages)) # 20