回答編集履歴

1

ファイル名を変数に変更

2019/11/29 07:46

投稿

shiracamus
shiracamus

スコア5406

test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
 
42
42
 
43
- with open("selfprogram.csv", "a") as f:
43
+ with open(FILENAME, "a") as f:
44
44
 
45
45
  writer = csv.writer(f, lineterminator="\n")
46
46