Efmt: Erlang Code Formatter
Original Text
%% https://www.erlang.org/doc/programming_examples/list_comprehensions.html#pythagorean-triplets pyth(N) -> [ {A,B,C} || A <- lists:seq(1,N), B <- lists:seq(1,N), C <- lists:seq(1,N), A+B+C =< N, A*A+B*B == C*C ].
Formatted Text