結果 : how to check if a variable is not a string in python