質問編集履歴
1
追加説明
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,6 +12,18 @@
|
|
12
12
|
|
13
13
|
```Python
|
14
14
|
|
15
|
+
folder_1 = ['可茂','幸内','土屋','田中']
|
16
|
+
|
17
|
+
folder_2 = ['1-1','1-2','1-3','1-4']
|
18
|
+
|
19
|
+
#得たい結果
|
20
|
+
|
21
|
+
['1-1 加茂','1-2 幸内','1-3 土屋','1-4 田中]
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
#自分で考えたコード内容
|
26
|
+
|
15
27
|
new_list = []
|
16
28
|
|
17
29
|
for fo, foo in zip(folder_2, folder_1):
|