Ajout d'un Readme, modification pour que ruff soit content
This commit is contained in:
parent
47cab6a2c7
commit
e5bd9fe457
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
def parse(filename: str) -> list:
|
def parse(filename: str) -> list:
|
||||||
with open(filename, 'r') as f:
|
with open(filename, 'r') as f:
|
||||||
return [l[:-1] for l in f.readlines()]
|
return [line[:-1] for line in f.readlines()]
|
||||||
|
|
||||||
def split(parsed: list[str]) -> tuple[list[int], list[int]]:
|
def split(parsed: list[str]) -> tuple[list[int], list[int]]:
|
||||||
l1 = []
|
l1 = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user