<filename>cal.py
# this function adds two numbers

def add(x, y):
    return x + y
# write a function for subtrction

# write function for division

# write function for multiplication


a = input("enter your first number:")
b = input("enter your second number:")


print("the sum is {}".format(add(a, b)))

<filename>cal.py
# this function adds two numbers

def add(x, y):
    return x + y
# write a function for subtrction

# write function for division

# write function for multiplication


a = input("enter your first number:")
b = input("enter your second number:")


print("the sum is {}".format(add(a, b)))

# this function adds two numbers # write a function for subtrction # write function for division # write function for multiplication