Editor

A Word Backwards

Rearrange the lines · Beginner · about 4 min

This program counts the letters in a word, then builds the word back to front, one letter at a time. Its lines are mixed up: put them back in an order that prints exactly the output below. Each line keeps its indentation, so you only choose the order.

Example

In the right order, the program prints:

Letters: 8
stressed backwards is desserts

Your program

0 of 6 placed

Add the first line from the blocks.

Blocks

6 blocks still to place
The solution opens after your first Check.