From c090d0b1c70b3d6fed3832e2abac4542348d1323 Mon Sep 17 00:00:00 2001 From: Jonathan Rocher Date: Sat, 14 Jul 2018 11:36:41 -0500 Subject: [PATCH] Fix the stupid factor 2 in the sum function. --- sprint_tutorial/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sprint_tutorial/compute.py b/sprint_tutorial/compute.py index f0934c1..715047a 100644 --- a/sprint_tutorial/compute.py +++ b/sprint_tutorial/compute.py @@ -5,4 +5,4 @@ def my_sum(x, y): """ Compute the sum of 2 numbers """ - return 2*(x + y) + return x + y