第一次聽到這個軟體,據說Python 比以前各種程式都好寫,而且基本上 ... sum=0 for n in ns : sum=sum+n print(sum/len(ns)) avg (3,5,13). # (3+5+13)/3=7.0.
確定! 回上一頁