Skip to content

Commit 25c340e

Browse files
committedDec 1, 2021
feat: 2021 day 1
1 parent ad4ad67 commit 25c340e

File tree

9 files changed

+2149
-3
lines changed

9 files changed

+2149
-3
lines changed
 

Diff for: ‎2020/aoc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ def lines(path):
66
return f.readlines()
77

88

9-
def file(path):
9+
def file(path: str) -> str:
1010
"""
1111
Return contents of a file at `path` as a string
1212
"""
1313
with open(path) as f:
1414
return f.read()
1515

1616

17-
def filerstrip(path):
17+
def filerstrip(path: str) -> str:
1818
"""
1919
Return rstripped file contents of file at `path`
2020
"""

0 commit comments

Comments
 (0)