You are viewing a single comment's thread. Return to all comments →
My Elixir solution
defmodule Solution do def hello(a) do if a>0 do IO.puts "Hello World" hello(a-1) end end end n = IO.gets("") |> String.strip |> String.to_integer Solution.hello n
Seems like cookies are disabled on this browser, please enable them to open this website
Hello World N Times
You are viewing a single comment's thread. Return to all comments →
My Elixir solution