← all problems

Parsons problem: Hello World structure 🌶️

Arrange the lines below to build a working Hello World program, with each line indented correctly for its nesting level.

// arrange the lines below, with correct indentation

1. Arrange the lines and set each one's indent level.

Click a placed item to send it back. With drag-and-drop enabled, you can also drag items to reorder them — indent arrows always stay click-only.

Click these, in order, if they belong in the answer
Your answer, in order

Your score for your class is recorded when you click Submit all — checking individual questions doesn't save it. You can submit again to improve your score; your best one counts.