MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / main

Function main

2018/src/23.py:19–21  ·  view source on GitHub ↗
(indata: str)

Source from the content-addressed store, hash-verified

17
18@aoc.main('23')
19def main(indata: str) -> tuple[int,int]:
20 bots = [[int(i) for i in re.findall("-?\d+", l)] for l in indata.split('\n')]
21 return part1(bots), part2(bots)
22
23if __name__ == "__main__":
24 main()

Callers 1

23.pyFile · 0.70

Calls 2

part1Function · 0.70
part2Function · 0.70

Tested by

no test coverage detected