回答編集履歴
1
Update
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
`strip()` を使いましょう。
|
1
|
+
`rstrip()` を使いましょう。
|
2
2
|
```python
|
3
3
|
#line=file.readline()
|
4
|
-
line=file.readline().strip()
|
4
|
+
line=file.readline().rstrip()
|
5
5
|
```
|
6
6
|
|