Comment or uncomment some lines so that the code below prints the longest string only.
Comments
Printing only the longest line
Report a typo
Write a program in Kotlin
fun main() {
println("Print it!")
// println("No, print it!")
/* println("Uncomment this line!") */
println("Please, comment this line!")
println("Display this text!")
//// println("Do not comment it!")
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.