From f93acaac46c02429659bc41566b2c1cbfafce360 Mon Sep 17 00:00:00 2001 From: bherceha Date: Tue, 13 Jan 2026 18:31:07 -0500 Subject: [PATCH 1/5] defined 4 functions --- calculator.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 calculator.py diff --git a/calculator.py b/calculator.py new file mode 100644 index 0000000..150166c --- /dev/null +++ b/calculator.py @@ -0,0 +1,12 @@ +def multiply(a,b): + return a * b + +def add(a,b): + return a+b + +def subtract(a,b): + return a-b + +def divide(a,b): + return a/b + \ No newline at end of file From dee3da29cc65cbdc50823205b0a67d4aa25fcef2 Mon Sep 17 00:00:00 2001 From: bherceha Date: Tue, 13 Jan 2026 18:33:38 -0500 Subject: [PATCH 2/5] added line to call function & print --- calculator.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/calculator.py b/calculator.py index 150166c..24a2fef 100644 --- a/calculator.py +++ b/calculator.py @@ -9,4 +9,8 @@ def subtract(a,b): def divide(a,b): return a/b - \ No newline at end of file + + +print("I'm going use the calculator functions to multiply 5 and 6") +x = multiply(5,6) +print(x) \ No newline at end of file From 0ae8efc584189afcac67840565d8703ece268d92 Mon Sep 17 00:00:00 2001 From: bherceha Date: Tue, 13 Jan 2026 18:34:07 -0500 Subject: [PATCH 3/5] adding pycache --- __pycache__/calculator.cpython-312.pyc | Bin 0 -> 606 bytes ...test_calculator.cpython-312-pytest-7.4.4.pyc | Bin 0 -> 14341 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 __pycache__/calculator.cpython-312.pyc create mode 100644 __pycache__/test_calculator.cpython-312-pytest-7.4.4.pyc diff --git a/__pycache__/calculator.cpython-312.pyc b/__pycache__/calculator.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09c608d21c24cac45c2070dcb5378756a7fc0400 GIT binary patch literal 606 zcma)2u};G<5WP#r%8GT)DdN}pz`OKc2Dm}oxJxH{>hm&M} zsyvpeBl0_-ty&uX8K3!|>1{;6lQ2>}g0*uS#ypea bP90NeW_?2B+eXBdh1g!z5Ss={%}nke=zD2v literal 0 HcmV?d00001 diff --git a/__pycache__/test_calculator.cpython-312-pytest-7.4.4.pyc b/__pycache__/test_calculator.cpython-312-pytest-7.4.4.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c967c495c3d46be3fae5b88544eb5ac1655785b5 GIT binary patch literal 14341 zcmeI3%WoUU9mjXMOLF1)3OVU5^fG<9K=lCty`MpFWB3Gp?nQeVFrRA4gzuE?*Y{D~G%RNYEa3KNH zzblg<#@Y2fRITeoYle8pd+crSBWwH6KKwv3mWA}A{h{#4lpe~~St^E{`J#|}GTh(I z^{B8iPjyT<--O|m3B##890`5wZ^QfS1cV&S4L=nLJ24_{xJ;sEpdz!F!R8_lFQl== z&$(MO$kX84UqX$0Aa`U~eXuI9Lb($-Lt-Oqg*>el!ux#owPJ>sB=Nph%ywi`jz}FJ znd@k*#qgP$(_%n-)CrqmxE?V>W`wmHs;N%UZm7_1%wwGAu-(vj`3PU;sCFncVK}!H zSg_lTppf#Yc4LvJOqN)?v1|tIb|X4*yAkDS@a;gmp+UP5f>nhz+=;ZL#JM{ZyOM<5 z)oT0IW~EVW^{@}>VaL$J_WeLU@ojD%$nEu)RvN9fgc1I^y%XPz<6bIZtl&12Fs`!` zxrC7jcjBAY<@JO?F|h-GSAoE2GH7yW*3hiC&)CDM| z_*TgS(G*w~QtgY*-IE!({hEFI>1rawGJVS?uBjRZhgN> zSkUeFs`Z^xb$hQ=)4QQuk4D-@8p|opu*_5dA@; zTG}f$;YuQAWh{bswxXuH!a-I%$cqO>@t|O3-O55b)pwK;1LnkoHSu8Gie%>@-Iqkp zz(R?O%gN^I-Fi)5-O;Q1-s&55qUYYOS1aY#>hAtt86V9^?%dUBS-)FaWv|>ViyMtr zH^$EK&w%D2ef$)R4FH;7NPkza9jP0K9{(Pz8%JvK(Bt1@wRoi7I`sbcnR@FOUZFIa zbALMJTzomgVoo`C6z9eqqKS$J23;*t$IXaga;7o{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gsL!=UE${DG*i-o< z3`;EuV0@)Nfr#ijV_dP> z0~!7A8ydbZczO`tu(<=-8t0_ z+UG0^{VtXlI$twKAvUi>QRJe?f~-&uBz8N7iznL6TAl1y^;`5^xQ^pj109(DrO2{; jBuO7izluFoRr$52QB}^Nfjz&x{B%Z@*N)+EjivQp{O-*b literal 0 HcmV?d00001 From 9eee1ca3e25b0951b22db942212ff833da248d90 Mon Sep 17 00:00:00 2001 From: bherceha Date: Tue, 13 Jan 2026 18:35:04 -0500 Subject: [PATCH 4/5] typo --- calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculator.py b/calculator.py index 24a2fef..996429f 100644 --- a/calculator.py +++ b/calculator.py @@ -11,6 +11,6 @@ def divide(a,b): return a/b -print("I'm going use the calculator functions to multiply 5 and 6") +print("I'm going to use the calculator functions to multiply 5 and 6") x = multiply(5,6) print(x) \ No newline at end of file From 095330e0ac848d553ab6219ccc6fe74c03760b4d Mon Sep 17 00:00:00 2001 From: bherceha Date: Tue, 13 Jan 2026 18:38:56 -0500 Subject: [PATCH 5/5] reverse typo correct --- calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculator.py b/calculator.py index 996429f..24a2fef 100644 --- a/calculator.py +++ b/calculator.py @@ -11,6 +11,6 @@ def divide(a,b): return a/b -print("I'm going to use the calculator functions to multiply 5 and 6") +print("I'm going use the calculator functions to multiply 5 and 6") x = multiply(5,6) print(x) \ No newline at end of file