April 28th, 2005, 05:16 AM
Returning all sorts of stuff at once
Silly question, the answer to which I figured out before anyone replied.
April 28th, 2005, 09: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, 02: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, 02:43 PM
well a noob might wanna know someday so let it be
April 28th, 2005, 02:59 PM