Created
September 22, 2022 21:28
-
-
Save uxjp/93073e81d4c8d984db6c8468bbac129d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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