diff options
Diffstat (limited to 'noetic-llama/src/ollamawrapper/src/capabilities/basicmaths.py')
-rw-r--r-- | noetic-llama/src/ollamawrapper/src/capabilities/basicmaths.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/noetic-llama/src/ollamawrapper/src/capabilities/basicmaths.py b/noetic-llama/src/ollamawrapper/src/capabilities/basicmaths.py new file mode 100644 index 0000000..e2491e0 --- /dev/null +++ b/noetic-llama/src/ollamawrapper/src/capabilities/basicmaths.py @@ -0,0 +1,12 @@ + +def add(num1=1, num2=2): + """Returns the output of two numbers added together + + Args: + num1 (int): The first number to add together + num2 (int): The second number to add together + + Returns: + int: The sum of the two numbers + """ + print("%f + %f = %f" % (num1, num2, num1 + num2))
\ No newline at end of file |