輕鬆學Python ... 本單元介紹符點數的基本運算,包括四捨五入,無條件進位與無條件捨去等。 ... 無條件捨去=", math.floor(a) print a, " 四捨五入=", round(a) ...
確定! 回上一頁