mirror of
https://github.com/SrIzan10/adventofcode.git
synced 2026-06-06 00:46:56 +00:00
chore: replace to splitlines
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
input = open('input.txt', 'r').read().split('\n')
|
||||
input = open('input.txt', 'r').read().splitlines()
|
||||
|
||||
def part1():
|
||||
calList = []
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
input = open('input.txt', 'r').read().split('\n')
|
||||
input = open('input.txt', 'r').read().splitlines()
|
||||
|
||||
# play
|
||||
p = {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
input = open('input.txt', 'r').read().strip().split('\n')
|
||||
input = open('input.txt', 'r').read().strip().splitlines()
|
||||
|
||||
def part1():
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user