Answer:
def add(x,y):
print(x+y)
def get_length(x):
return len(x)
add(17,19)
print(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: "))
add(x,y)
x1=input("please enter any string: ")
print(get_length(x1))
Explanation:
in python3 programming language