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