From 8a26d6a19a62bf272314cfb2ec02ff86259ada6b Mon Sep 17 00:00:00 2001 From: Puremindz Technologies Date: Fri, 29 Jun 2018 14:16:13 +0530 Subject: [PATCH 1/2] added add method --- calculator.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 calculator.py diff --git a/calculator.py b/calculator.py new file mode 100644 index 0000000..b1ae7a2 --- /dev/null +++ b/calculator.py @@ -0,0 +1,2 @@ +def add(a,b): + return a+b \ No newline at end of file From e0d8953f09d66f2e72d4749aa414f7c96c4bb650 Mon Sep 17 00:00:00 2001 From: Puremindz Technologies Date: Fri, 29 Jun 2018 14:40:03 +0530 Subject: [PATCH 2/2] changes added --- calculator.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/calculator.py b/calculator.py index b1ae7a2..85777cf 100644 --- a/calculator.py +++ b/calculator.py @@ -1,2 +1,6 @@ def add(a,b): - return a+b \ No newline at end of file + return a+b + +def subtract(a,b,c): + return a-b-c + \ No newline at end of file