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() {
val name = "Kotlin"
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
// to see how IntelliJ IDEA suggests fixing it.
println("Hello, " + name + "!")
for (i in 1..5) {
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
println("i = $i")
}
val trainerName: String = "Эш Кетчум"
val homeRegion: String = "Канто"
val badges: Int = 8
val pokedexCount: Int = 150
println("=== БАЗА ДАННЫХ ТРЕНЕРОВ ===")
println("Тренер: $trainerName")
println("Родной регион: $homeRegion")
println("Значков: $badges | Покемонов в Покедексе: $pokedexCount")
}