>>453
> def func(x,str):
の前に
> func(str(num))
の呼び出ししたらそりゃそうなるわな