From 9aff39e61c597dc95e69131fe0ae2d8560381c32 Mon Sep 17 00:00:00 2001 From: jancysen Date: Sun, 3 May 2026 09:27:34 +0530 Subject: [PATCH] Added simple calculator project --- calculator.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 calculator.py diff --git a/calculator.py b/calculator.py new file mode 100644 index 0000000..02ead1a --- /dev/null +++ b/calculator.py @@ -0,0 +1,8 @@ +def add(a, b): + return a + b + +def subtract(a, b): + return a - b + +print("Addition:", add(10, 5)) +print("Subtraction:", subtract(10, 5)) \ No newline at end of file