今さらPython

$ python
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 10+1
11
>>> 10/3
3.3333333333333335
>>> 29/3
9.666666666666666
>>>

bcなどと違い、小数点以下を計算してくれる。


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2020-02-05 (水) 11:13:12