Remove io:format from day_3
This commit is contained in:
parent
09075cdb39
commit
7516cff589
|
|
@ -11,7 +11,6 @@ part_1() ->
|
||||||
part_1(Filename) ->
|
part_1(Filename) ->
|
||||||
Input = read_input(Filename),
|
Input = read_input(Filename),
|
||||||
Pairs = parse(Input),
|
Pairs = parse(Input),
|
||||||
io:format("~p~n", [Pairs]),
|
|
||||||
Products = lists:map(fun({A, B}) -> A * B end, Pairs),
|
Products = lists:map(fun({A, B}) -> A * B end, Pairs),
|
||||||
lists:sum(Products).
|
lists:sum(Products).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue