Skip to content

Instantly share code, notes, and snippets.

@uxjp
Created September 22, 2022 21:28
Show Gist options
  • Save uxjp/93073e81d4c8d984db6c8468bbac129d to your computer and use it in GitHub Desktop.
Save uxjp/93073e81d4c8d984db6c8468bbac129d to your computer and use it in GitHub Desktop.
defmodule Solution do
IO.read(:all)
|> String.to_integer
|> (&(Range.new(1, &1))).()
|> Enum.to_list
|> IO.inspect
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment