From 8e41cde5e1466589fc7790dfd0277b43db5980c3 Mon Sep 17 00:00:00 2001 From: robertheo <57569392+robertheo15@users.noreply.github.com> Date: Wed, 12 Oct 2022 13:02:10 +0700 Subject: [PATCH] Add For Loop Kotlin --- Main.kt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Main.kt diff --git a/Main.kt b/Main.kt new file mode 100644 index 0000000..dcd9a07 --- /dev/null +++ b/Main.kt @@ -0,0 +1,6 @@ +fun main(args: Array) { + + for (i in 1..5) { + println(i) + } +} \ No newline at end of file