Python 內建許多有用的資料型態,像是整數(integer) 、浮點數(floating-point number) ... 印出0.2 比例的兩個整數print(0.2.as_integer_ratio()) # 判斷0.235 是否為 ...
確定! 回上一頁