因數 和; 所有位數和; 因數和. 1: n = 15 2: sn = 0 3: for i in range(n): 4: sn += 1/(1+i) 5: print('{0:.4f}'.format(sn)). 3.3182. 級數求和.
確定! 回上一頁