看板 Python 關於我們 聯絡資訊
請問假設 List = [1,3,4,5,8.9], output: [(1),(3,4,5),(8,9)] 有沒有什麼函式之類可以讓連續的數字包在一起? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.21.66.6