回答編集履歴
1
起動コマンド追記
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Pythonインタプリタを起動して、一つ一つ確認してみるといいですよ。
|
2
2
|
|
3
3
|
```python
|
4
|
+
$ python
|
5
|
+
Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (
|
6
|
+
AMD64)] on win32
|
7
|
+
Type "help", "copyright", "credits" or "license" for more information.
|
4
8
|
>>> "0x%02x " % 123
|
5
9
|
'0x7b '
|
6
10
|
>>> ["0x%02x " % x for x in (1, 2, 3)]
|