結果 : recursive function returning none python