回答編集履歴

1

保存

2021/05/07 15:21

投稿

mather
mather

スコア6753

test CHANGED
@@ -11,3 +11,19 @@
11
11
  7,8,9
12
12
 
13
13
  ```
14
+
15
+
16
+
17
+ ```
18
+
19
+ >>> a = [[1,2,3],[4,5,6],[7,8,9]]
20
+
21
+ >>> f = open("/tmp/hoge.csv", mode="w")
22
+
23
+ >>> f.write("\n".join([",".join(map(str,b)) for b in a]))
24
+
25
+ 17
26
+
27
+ >>> f.close()
28
+
29
+ ```