Learn Python Programming
#function which returns multiple values
def calculator(x,y):
add = x + y
sub = x - y
mul = x * y
div = x / y
return add, sub, mul, div
#main
a, s, m, d = calculator(10, 10) #function call
print (a, s, m, d)