소스 검색

Update template

Jonatan Gezelius 4 년 전
부모
커밋
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")