This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Program make a simple calculator that can add, subtract, multiply and divide using functions | |
# define functions | |
def add(x, y): | |
"""This function adds two numbers""" | |
return x + y | |
def subtract(x, y): | |
"""This function subtracts two numbers""" |