Here’s a template for answering HackerRank in Elixir. This is based on the Two Character question
defmodule Solution do
def go() do
num = input(:int)
text = input(:string)
IO.puts("INPUTS #{num} and #{text}")
end
def input(:string), do: IO.read(:line) |> String.trim()
def input(:int), do: input(:string) |> String.to_integer()
end
# Now run your code
Solution.go()
Now go forth and HackerRank!!!