結果 : how to use check function in python