ページへ戻る
− Links
印刷
Python[1]の絶対値はabsを使う。 特にimportは必要ない。 ver2,ver3共に同じ
>>> abs(-1) 1 >>> abs(-1.2) 1.2
(This host) = https://njf.jp