passing variable from one function as argument to other functions can be done like this
define functions like this
def function1(): global a a=input("Enter any number\t") def function2(argument): print ("this is the entered number - ",argument)
call the functions like this
function1()
function2(a)