やったこと
Python の str.format を使ってみます。
確認環境
$ ipython --version
6.1.0
$ jupyter --version
4.3.0
$ python --version
Python 3.6.2 :: Anaconda custom (64-bit)調査
print("{}-{}-{}".format("2019", "08", "12"))出力結果
2019-08-12Python の str.format を使ってみます。
$ ipython --version
6.1.0
$ jupyter --version
4.3.0
$ python --version
Python 3.6.2 :: Anaconda custom (64-bit)print("{}-{}-{}".format("2019", "08", "12"))出力結果
2019-08-12