結果 : python test if variable is string or list