... s = sum(l) print("{g}: {d}, sum:{s}".format(g=g, d=l, s=s)) 不知道python有沒有pipe的內部實現? 這段程式碼是將list a裡的奇數和偶數分組取平方 ...
確定! 回上一頁