From b69457b138113c98a4841bf08cb27d13f5068964 Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:10:33 +0530 Subject: [PATCH 1/8] Create __init__.py --- arithmetic/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 arithmetic/__init__.py diff --git a/arithmetic/__init__.py b/arithmetic/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/arithmetic/__init__.py @@ -0,0 +1 @@ + From 89a5996af7f741ffac985fb95bddaca9bda02aa2 Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:10:55 +0530 Subject: [PATCH 2/8] Create __init__.py --- arithmetic/tests/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 arithmetic/tests/__init__.py diff --git a/arithmetic/tests/__init__.py b/arithmetic/tests/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/arithmetic/tests/__init__.py @@ -0,0 +1 @@ + From 549c3473d0791c59bb8400025bcc3c26ba5d881f Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:11:34 +0530 Subject: [PATCH 3/8] Create requirements.txt --- arithmetic/tests/requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 arithmetic/tests/requirements.txt diff --git a/arithmetic/tests/requirements.txt b/arithmetic/tests/requirements.txt new file mode 100644 index 0000000..e079f8a --- /dev/null +++ b/arithmetic/tests/requirements.txt @@ -0,0 +1 @@ +pytest From c01615f155b8e54d9c9e6ca496c2a4cd0c9ab826 Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:15:56 +0530 Subject: [PATCH 4/8] Delete arithmetic/tests directory --- arithmetic/tests/__init__.py | 1 - arithmetic/tests/requirements.txt | 1 - 2 files changed, 2 deletions(-) delete mode 100644 arithmetic/tests/__init__.py delete mode 100644 arithmetic/tests/requirements.txt diff --git a/arithmetic/tests/__init__.py b/arithmetic/tests/__init__.py deleted file mode 100644 index 8b13789..0000000 --- a/arithmetic/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/arithmetic/tests/requirements.txt b/arithmetic/tests/requirements.txt deleted file mode 100644 index e079f8a..0000000 --- a/arithmetic/tests/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -pytest From e3624a08ecfadaff367aaeb608ff7930b5b9b27f Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:17:35 +0530 Subject: [PATCH 5/8] Create __init__.py --- tests/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ + From c778733f82160fe04c22d5296cf71f583e968c93 Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:18:10 +0530 Subject: [PATCH 6/8] Create requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e079f8a --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pytest From 78b72e57a2a865b588439320097679a167cc0e44 Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:25:08 +0530 Subject: [PATCH 7/8] Add add() function --- arithmetic/arithmetic/operations.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 arithmetic/arithmetic/operations.py diff --git a/arithmetic/arithmetic/operations.py b/arithmetic/arithmetic/operations.py new file mode 100644 index 0000000..60d84d6 --- /dev/null +++ b/arithmetic/arithmetic/operations.py @@ -0,0 +1,5 @@ +def add(a, b): + """ + Return the sum of two numbers. + """ + return a + b From 60ea3d4dfc6214a4baa4095d530599c24db61dbf Mon Sep 17 00:00:00 2001 From: Aanya Date: Mon, 19 Jan 2026 22:26:11 +0530 Subject: [PATCH 8/8] Expose add function --- arithmetic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arithmetic/__init__.py b/arithmetic/__init__.py index 8b13789..dcd2470 100644 --- a/arithmetic/__init__.py +++ b/arithmetic/__init__.py @@ -1 +1 @@ - +from .operations import add