看板 Python 關於我們 聯絡資訊
其實可以結合zip和slicing,如下: for checkin, checkout in zip(PT_record[0::2], PT_record[1::2]): # do something ----- Sent from JPTT on my iPhone -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.184.4.151 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1555944597.A.66D.html
lajji: 推本人 04/22 22:57
Philethan: WOW 04/22 23:02
charlie11438: 朝聖本人 04/22 23:20
yoyololicon: id正確 04/23 06:34