2009-11-08 python 可変引数 複数戻り値 def hoge(*arg): for x in arg: print x def foo(): ret = [1,2,3] # これは配列ね return tuple(ret)