回答編集履歴

1

修正

2020/12/13 09:19

投稿

退会済みユーザー
test CHANGED
@@ -20,6 +20,8 @@
20
20
 
21
21
  ```
22
22
 
23
+ ret=[]
24
+
23
25
  for line in open("df.csv", mode="r", encoding="utf-8"):
24
26
 
25
27
  section = line.split(",", 1)
@@ -28,8 +30,12 @@
28
30
 
29
31
  continue
30
32
 
31
- print(eval(section[1].strip("\"\n").strip("\")))
33
+ ret.append(eval(section[1].strip("\"\n").strip("\")))
32
34
 
35
+
33
36
 
37
+ for r in ret:
38
+
39
+ print(r)
34
40
 
35
41
  ```