質問編集履歴

2

コードの範囲ミス

2020/02/26 07:02

投稿

spu
spu

スコア23

test CHANGED
File without changes
test CHANGED
@@ -29,6 +29,8 @@
29
29
  write_tmp=csv.writer(f,lineterminator='\n',delimiter='\n')
30
30
 
31
31
  write_tmp.writerows(data)
32
+
33
+ ```
32
34
 
33
35
 
34
36
 

1

書式の改善

2020/02/26 07:02

投稿

spu
spu

スコア23

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,8 @@
7
7
 
8
8
 
9
9
  ### 該当のソースコード(一部)
10
+
11
+ ```python
10
12
 
11
13
  t=[1,2,3,4,5]#list
12
14
 
@@ -20,7 +22,7 @@
20
22
 
21
23
  with open('output.txt', 'w') as f:
22
24
 
23
- for i in t:
25
+   for i in t:
24
26
 
25
27
  data.append(list(zip([i]*100,x, y,p)))
26
28
 
@@ -46,6 +48,8 @@
46
48
 
47
49
 
48
50
 
51
+ ```
52
+
49
53
  ### 欲しいoutput file
50
54
 
51
55
  1,1,1,数値