質問編集履歴
2
追記 1
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,6 +88,8 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
+
|
92
|
+
|
91
93
|
```python
|
92
94
|
|
93
95
|
args_dict = dict(map(lambda x: [x.partition("=")[0],
|
@@ -97,3 +99,21 @@
|
|
97
99
|
args[1:])[x] for x in range(len(args) - 1))
|
98
100
|
|
99
101
|
```
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
答え (途中)
|
106
|
+
|
107
|
+
lambda は無名関数
|
108
|
+
|
109
|
+
```python
|
110
|
+
|
111
|
+
>>>g = lambda x: [x.partition("=")[0], x.partition("=")[2]]
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
>>>g("command=listApis")
|
116
|
+
|
117
|
+
['command', 'listApis']
|
118
|
+
|
119
|
+
```
|
1
タイトルを修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
TypeError
|
1
|
+
TypeError map object is not subscriptable
|
test
CHANGED
File without changes
|