change code

This commit is contained in:
2026-09-28 00:54:56 +03:00
parent 30e4960c3e
commit a0f2886acf
+8 -12
View File
@@ -1,14 +1,10 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
fun main() { fun main() {
val name = "Kotlin" val trainerName: String = "Эш Кетчум"
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text val homeRegion: String = "Канто"
// to see how IntelliJ IDEA suggests fixing it. val badges: Int = 8
println("Hello, " + name + "!") val pokedexCount: Int = 150
println("=== БАЗА ДАННЫХ ТРЕНЕРОВ ===")
for (i in 1..5) { println("Тренер: $trainerName")
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint println("Родной регион: $homeRegion")
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>. println("Значков: $badges | Покемонов в Покедексе: $pokedexCount")
println("i = $i")
}
} }