summaryrefslogtreecommitdiff
path: root/extension/examples/calculator.py
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-27 23:53:08 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-27 23:53:08 -0700
commit4411dc39c1ec51bfc96c4059aa555313e825c2f7 (patch)
treef88425c9c5b407d53cc49645e13ebbb52c9fb455 /extension/examples/calculator.py
parent55e231b4f51f47757ab5840363fbc097d6ebf6e5 (diff)
downloadsncontinue-4411dc39c1ec51bfc96c4059aa555313e825c2f7.tar.gz
sncontinue-4411dc39c1ec51bfc96c4059aa555313e825c2f7.tar.bz2
sncontinue-4411dc39c1ec51bfc96c4059aa555313e825c2f7.zip
v73 was too large, removing examples, .vscignore
Diffstat (limited to 'extension/examples/calculator.py')
-rw-r--r--extension/examples/calculator.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/extension/examples/calculator.py b/extension/examples/calculator.py
deleted file mode 100644
index 4566626b..00000000
--- a/extension/examples/calculator.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# This class contains functions to perform basic mathematical operations
-class Calculator:
-
- # This function adds two numbers together
- def add(self, num1, num2):
- """This function adds two numbers together"""
- return num1 + num2
-
- # This function subtracts two numbers
- def sub(self, num1, num2):
- """This function subtracts two numbers"""
- return num1 - num2
-
- # This function multiplies two numbers
- def mul(self, num1, num2):
- """This function multiplies two numbers"""
- return num1 * num2
-
- # This function divides two numbers
- def div(self, num1, num2):
- """This function divides two numbers"""
- return num1 / num2
-
- # This function raises one number to the power of another
- def exp(self, num1, num2):
- """This function raises one number to the power of another"""
- return num1 ** num2 \ No newline at end of file