From a47639a5533e10538e520e0c5aff68f55bb9d484 Mon Sep 17 00:00:00 2001 From: Arf <10+arf@noreply.localhost> Date: Thu, 19 Nov 2026 07:25:40 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20works/here/4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/here/4 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 works/here/4 diff --git a/works/here/4 b/works/here/4 new file mode 100644 index 0000000..384aa08 --- /dev/null +++ b/works/here/4 @@ -0,0 +1,11 @@ +fun main() { + + for (i in 1..10) println("$i ") + + for (i in 10 downTo 1) println(i) + + val team = listOf("Pikachu", "Charmander", "Squirtle", "Bulbasaur") + for ((index, name) in team.withIndex()) { + println("${index + 1}. $name") + } +} \ No newline at end of file