Generally, a name defined into a function can't be read outside of it, so you have to return the function result explicitely:
import random
def Func1():
choice = ('A', 'B', 'C')
output = random.choice(choice)
return output
def Func2(item):
print item
output1 = Func1()
Func2(output1)
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
