dear list,

what i have to do is, i have perform some mathmatical operation in one function and using its results as input into another function, here is my code of what i had done till now :

```
import math
def Math(x1,y1):
a = x1+y1
b = x1-y1
c = x1*y1
d = x1/y1
print "additin is: ", a
print "subtraction is:", b
print "multiplication is:", c
print "division is: ", d
print "square is:", e
print "square root is", f
x1 = 0
x = raw_input("enter first number: ")
while not (x.isdigit()):
x = raw_input("enter a valid number: ")
x1 = int(x)
y1 = 0
y = raw_input("enter second number: ")
while not (y.isdigit()):
y = raw_input("enter a valid number: ")
y1 = int(y)
Math(x1,y1)
def Manipulator():
a1 = raw_input("choose the first number among a, b, c, d: ")
a2 = raw_input("choose the second number among a, b, c, d: ")
if a1 =='a':
#here i have to assign the value of a from function Math() to a1
```

and in the similar way if user choose 'c' as second number then i have to assign the value of c from Math() to a2,

i am unable to do this, i dont know how to call a value from one function to another function, hope you understand what i am trying to ask.

Waiting for your reply.