Skip to content

Instantly share code, notes, and snippets.

@uxjp
Created September 22, 2022 21:28
  • 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/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