結果 : how to check if numeric in python