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