2021-08-13 11:44:51 +05:30

11 lines
209 B
Python

# mycalculator.py with add and subtract functions
def add(x, y):
"""This function adds two numbers"""
return x + y
def subtract(x, y):
"""This function subtracts two numbers"""
return x - y