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