[問題] 語法問題請益..已刪文

看板Python作者 (無傷大雅)時間6年前 (2019/05/02 01:40), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
小弟最近在學習python, 上網查詢到某段程式語法如下.. 實在是看不懂,想請問板上前輩.. detections = [] detections = [Detection(bbox, score, feature) for bbox,score, feature in zip(detections, track_scores, features)] 不明白的是for在這邊代表什麼意思@@ 第二個元素中feature後接in也無法理解, 懇請板上前輩指導,謝謝.. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.230.200.240 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1556732412.A.A7B.html
文章代碼(AID): #1SoTdyfx (Python)
文章代碼(AID): #1SoTdyfx (Python)