結果 : how to check return value of a function in python