I have a small issue while calling multiple variables in python one function to another. Like I have to access the variable of xxx() variables in yyy(). Help me to do this.?
Use the global keyword, like the following example:
global
global a=0 global b=0 global c=0 def xxx(): a=10 b=15 c=20 return a,b def yyy(): print a print b xxx()