April 28th, 2005, 06:16 AM
Returning all sorts of stuff at once
Silly question, the answer to which I figured out before anyone replied.
April 28th, 2005, 10:51 AM
well, since this could be searched i will give an answer
you can create a tuple. so like:
so its pretty simple, for more info about tuples check it out on pythons web site: http://docs.python.org/tut/node7.html#SECTION007300000000000000000
return 4, 'test', 'hmm'
num, string1, string2 = test()
April 28th, 2005, 03:40 PM
This thread can be deleted. Since the starter of this thread remove his/her question, no one can learn from this.
April 28th, 2005, 03:43 PM
well a noob might wanna know someday so let it be
April 28th, 2005, 03:59 PM