chore: replace to splitlines

This commit is contained in:
2024-08-04 20:17:31 +02:00
parent a782e6f9de
commit ad5303d8bb
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
input = open('input.txt', 'r').read().split('\n')
input = open('input.txt', 'r').read().splitlines()
def part1():
calList = []

View File

@@ -1,4 +1,4 @@
input = open('input.txt', 'r').read().split('\n')
input = open('input.txt', 'r').read().splitlines()
# play
p = {

View File

@@ -2,7 +2,7 @@ import string
alphabet = list(string.ascii_lowercase)
uppercaseAlphabet = list(string.ascii_uppercase)
input = open('input.txt', 'r').read().strip().split('\n')
input = open('input.txt', 'r').read().strip().splitlines()
def part1():
sum = 0

View File

@@ -1,4 +1,4 @@
input = open('input.txt', 'r').read().strip().split('\n')
input = open('input.txt', 'r').read().strip().splitlines()
one_to_ninetynine = list(range(1,100))

View File

@@ -1,4 +1,4 @@
input = open('input.txt', 'r').read().strip().split('\n')
input = open('input.txt', 'r').read().strip().splitlines()
def part1():
return