Solve 2018 day 5 and 6. Nice.
This commit is contained in:
21
2018/d7.py
Normal file
21
2018/d7.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from lib import str_to_ints
|
||||
|
||||
|
||||
def part_1(data):
|
||||
print(data)
|
||||
|
||||
|
||||
def part_2(data):
|
||||
pass
|
||||
|
||||
|
||||
def main():
|
||||
input_file = __file__.replace(".py", ".txt")
|
||||
with open(input_file) as f:
|
||||
data = f.read()
|
||||
part_1(data)
|
||||
part_2(data)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user