結果 : how to check if a value is an integer or float in python