看板 CodeJob 關於我們 聯絡資訊
 發案人:S 聯絡方式1:站內信 所在地區 :新北 有效時間:徵到為止 專案說明: 給一序列[1、2、3、4、5] input[1、2、3] 希望output是[4、5] input[1、3、5] 希望output是[2、4] input[1、3、7] output是[2、4、5] 需要作到的效果是給一個集合, 輸入該集合的部份元素,機器會輸出該集合的剩餘元素   預算:3000-5000 接案者要求:能解決問題即可(最好順便報價)   附註:要給source code -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.163.203.116 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/CodeJob/M.1661242555.A.73A.html ※ 編輯: stayfool (1.163.203.116 臺灣), 08/23/2022 16:16:44
neilshih: 已私訊 08/23 17:40
srwang721: 已站內 08/23 21:16
alan23273850: 還以為是 machine leatning... 08/24 01:24
HYDE1986: 這需要ML?!?!?!? 08/24 09:47
lycantrope: python大概一行就解決了吧.. 08/24 12:09
Hsins: ml = lambda a, b: set(a) - set(b) 08/24 15:29
lycantrope: def ml(a,b): return set(a) - set(b) # 非lambda版本 08/24 16:26