回答編集履歴
1
追記
answer
CHANGED
@@ -5,4 +5,8 @@
|
|
5
5
|
引用元: [Python3.7ドキュメント » Python 標準ライブラリ » locale.format_string](https://docs.python.org/ja/3/library/locale.html#locale.format_string) **太字**は引用者
|
6
6
|
|
7
7
|
%演算子の慣行に従うとのことですので、次の解説を読めば良いです。
|
8
|
-
[Python3.7ドキュメント » Python 標準ライブラリ » printf 形式の文字列書式化](https://docs.python.org/ja/3/library/stdtypes.html#printf-style-string-formatting)
|
8
|
+
[Python3.7ドキュメント » Python 標準ライブラリ » printf 形式の文字列書式化](https://docs.python.org/ja/3/library/stdtypes.html#printf-style-string-formatting)
|
9
|
+
|
10
|
+
---
|
11
|
+
ドキュメントは網羅性が高すぎてちょっと読みづらいので、これも張っておきます。
|
12
|
+
[Qiita - Pythonの%演算子による文字列フォーマット](https://qiita.com/takahiro_itazuri/items/e585b46d096036bc837f)
|