Answer:
filename: arithmetic.py
code:
def add(x,y):
print(x+y)
def get_length(x):
return len(x)
filename: test.py
code:
import arithmetic
arithmetic.add(17,19)
print(arithmetic.get_length("harry potter"))
#or you can also take some user input
x=int(input("please enter an integer: "))
y=int(input("please enter an integer: "))
arithmetic.add(x,y)
x1=input("please enter any string: ")
print(arithmetic.get_length(x1))
Step-by-step explanation: