結果 : python check if type is string or list