Skip to content
>_ Coders Rock
PracticePlaygroundBlogAbout Learn to Write Code

Practice / Input, Output & Comments

Continuing from Learn to Write Code -- this set practices the lesson you just read.

Set 03

Input, Output & Comments

Practice reading an answer from the person running the program, joining it onto a message, and commenting your work.

inputoutputprintcommenttext

Taught on Learn to Write Code. Read the lesson first if any of this is new.

Greet by name

Ask for a name and greet the person who typed it.

Two questions

Collect two answers and use them in one sentence.

Coders Rock

Free coding practice that runs entirely in your browser. No account, no streaks, no leaderboard -- practice a concept, see it run, then go build something real with it.

Practice

All challenges Playground Blog

Elsewhere

About Spread the word Learn to Write Code Exteran Studios
© 2026 CodersRock.com, an exteran studios site. Your code runs in your browser and is never sent anywhere. Privacy Policy | Terms of Use