結果 : how to test for an integer in python