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