Skip to content

Instantly share code, notes, and snippets.

@uxjp
Last active September 22, 2022 11:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save uxjp/a204a055c3c4545db399d67e70fafb14 to your computer and use it in GitHub Desktop.
Elixir filter positions in a list
defmodule Solution do
IO.read(:all)
|> String.split
|> Enum.drop_every(2)
|> Enum.each(&IO.puts/1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment