From f686bb5e5adc1023aebdec02ee1a1a3a41febd35 Mon Sep 17 00:00:00 2001 From: Anto Christopher Date: Tue, 26 May 2026 14:25:51 +0530 Subject: [PATCH] B: feat: add compute_total (P1) --- sim_b.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sim_b.py diff --git a/sim_b.py b/sim_b.py new file mode 100644 index 000000000..cbe29a609 --- /dev/null +++ b/sim_b.py @@ -0,0 +1,9 @@ +"""Scenario B — feature work that lands first, then merge master in.""" + + +def compute_total(items): + """Shadows builtin 'sum'.""" + sum = 0 + for item in items: + sum += item + return sum