四捨五入round()無條件進位= 需import mathmath.ceil()無條件捨去= ... import math num=123.578 #四捨五入 print(round(num)) #124 #無條件進位 ...
確定! 回上一頁