回答編集履歴
1
追記
test
CHANGED
@@ -7,3 +7,13 @@
|
|
7
7
|
date = datetime.strptime("2017年12月22日", "%Y年%m月%d日")
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
どうしてもyear, month, dayの三値で表したいのなら、こうします。
|
14
|
+
|
15
|
+
```Python
|
16
|
+
|
17
|
+
year, month, day = date.year, date.month, date.day
|
18
|
+
|
19
|
+
```
|