test-project/calculator.py

18 lines
No EOL
314 B
Python

def add(a, b):
"""Return the sum of a and b."""
return a + b
def subtract(a, b):
"""Return the difference between a and b."""
return a - b
def multiply(a, b):
"""Return the product of a and b."""
return a * b
def divide(a, b):
"""Return the division of a by b."""
return a / b