用loop 遍歷zip 物件內容. >>> for i in zip(x, y): ... print(i). ('a', 1). ('b', 2). ('c', 3). # 也可用list() 或set() 將迭代器轉換成其他資料型 ...
確定! 回上一頁