Sep-19-2019, 01:43 PM
Names defined in the function are only available in the function. If you need them outside the function, return a dictionary:
def foo(list1, list2, list3): return {'list1': list1, 'list2': list2, 'list3': list3}
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures