2020-05-14から1日間の記事一覧

%演算子

%演算子を使うと、printfのように書式を指定して標準出力できる。とほほのPython入門 - 数値・文字列・型 Python String Interpolation with the Percent (%) Operator文字列、整数値、16進数、実数 $ vi percent_operator.py $ python percent_operator.py …