Jonatan Gezelius 4 лет назад
Родитель
Сommit
bcfcf4ff36
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      template/a.py

+ 2 - 1
template/a.py

@@ -3,7 +3,8 @@ import os, argparse
 
 def solve_task(filename):
     with open(filename) as infile:
-        for line in infile:
+        for raw_line in infile:
+            line = raw_line.rstrip()
             pass
             
     os.system("pause")