You are viewing a single comment's thread. Return to all comments →
Easy peezy in Elixir using Enum.drop_every
IO.stream(:stdio, :line) |> Enum.map(&String.trim/1) |> Enum.map(&String.to_integer/1) |> Enum.drop_every(2) |> Enum.each(&IO.puts(&1))
Seems like cookies are disabled on this browser, please enable them to open this website
Filter Positions in a List
You are viewing a single comment's thread. Return to all comments →
Easy peezy in Elixir using Enum.drop_every