Kotlinlearncs.online LogoJava
Return to List

Solve: Skip a Line

Created By: Geoffrey Challen
/ Version: 2026.8.0

println will happily print nothing at all. Call it with empty parentheses and it skips straight to the next line, which is how you put a blank line between two chunks of output.

Write a snippet of code—not a function—that prints Top, then an empty line, then Bottom. Your output should be exactly three lines, and the middle one should be empty.

Related Lessons

Stuck? You may find these lessons helpful:

Report a Problem

Attribution must link to this page: https://www.learncs.online/solve/kotlin/skip-a-line/[email protected]