Python (both 2 and 3) supports decimal arithmetic with the decimal module, and true rational numbers with the fractions module. R. R. print(.1 + .2).
確定! 回上一頁