This website works better with JavaScript.
Explore
Help
Register
Sign In
Cpt.Captain
/
aoc21
Watch
1
Star
0
Fork
You've already forked aoc21
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
Advent of Code 2021
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3
Commits
1
Branch
0
Tags
110 KiB
Tag:
Branch:
Tree:
3de439fa41
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '3de439fa41'
${ noResults }
aoc21
/
utils.py
4 lines
109 B
Raw
Normal View
History
Unescape
Escape
finish day2.1, move input reading out of day1
4 years ago
def
read_input_data
(
path
:
str
)
-
>
str
:
with
open
(
path
,
'
r
'
)
as
f
:
data
=
f
.
read
(
)
return
data