結果 : check if list or tuple python