結果 : how to check test cases in python