回答編集履歴
3
修正
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
with open("sample.txt") as f:
|
14
14
|
|
15
|
-
text = f.read().replace("\n", "")
|
15
|
+
text = f.read().replace("\n", "").replace(" ", "")
|
16
16
|
|
17
17
|
|
18
18
|
|
2
修正
test
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
|
15
15
|
text = f.read().replace("\n", "")
|
16
16
|
|
17
|
+
|
18
|
+
|
17
|
-
|
19
|
+
n = 3
|
18
20
|
|
19
21
|
s = pd.Series(map(int, text))
|
20
22
|
|
1
修正
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
with open("sample.txt") as f:
|
14
14
|
|
15
|
-
text = f.read()
|
15
|
+
text = f.read().replace("\n", "")
|
16
16
|
|
17
17
|
|
18
18
|
|
@@ -23,6 +23,10 @@
|
|
23
23
|
print(max_val) # 648.0
|
24
24
|
|
25
25
|
```
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
----
|
26
30
|
|
27
31
|
|
28
32
|
|