All default Source Print 1 To 10 options
To reset the wheel of names to the default items => CLEAR all items from the wheel input field
and refresh the page.
We have listed all default print 1 to 10s below for your convenience.
We have listed all default print 1 to 10s below for your convenience.
- Ruby: (1..10).each { |i| puts i }
- Javascript: for (let i=0; i<10; i++) { console.log(i); }
- C: for(int i=0; i<10; i++) { printf('%d', i); }
- Php: for ($i=1; $i<10; $i++) { echo $i; }
- Python: for i in range(10): print(i)
- Java: for (int i=0; i<10; i++) { System.out.println(i); }
- Elixir: Enum.each(1..10, fn(x) -> IO.puts x end)
- Clojure: (for [i (range 1 11)] (println i))