Explorar el Código

Update template

Jonatan Gezelius hace 4 años
padre
commit
bcfcf4ff36
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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")