質問編集履歴
1
プログラムを修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
```Python
|
4
4
|
|
5
|
-
f = open(
|
5
|
+
f = open(filename_i, "w")
|
6
6
|
|
7
7
|
f.write("test")
|
8
8
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
```Python
|
16
16
|
|
17
|
-
f = open(
|
17
|
+
f = open(filename_i, "r")
|
18
18
|
|
19
19
|
text = f.read()
|
20
20
|
|