• + 1 comment

    OCaml Solution :- let rec print n = if (n > 0) then begin print_endline "Hello World"; print (n - 1) end;;

    let () = let n = read_int () in print n;;