Skip to content

Commit b118996

Browse files
Add: Day 05 - 2024 (A only)
1 parent 610adec commit b118996

5 files changed

Lines changed: 1752 additions & 1 deletion

File tree

programs/2024/Python/00_Template/program.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ def inputReading( ) -> list :
4242

4343
for line in input_file:
4444
rawInputLines.append( line )
45-
45+
46+
47+
# Let's remove the "\n" out of the file
48+
for i in range( len(rawInputLines) ):
49+
rawInputLines[i] = rawInputLines[i].replace( "\n", "" )
50+
51+
52+
# The lines have properly been read
4653
return rawInputLines
4754

4855

0 commit comments

Comments
 (0)