Editor

Hot Days in a Week

Rearrange the lines · Beginner · about 4 min

This program picks out the days above 24 degrees from a week of temperatures and keeps them in a new list. 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:

Hot days: [25, 31, 35, 27]
How many: 4

Your program

0 of 7 placed

Add the first line from the blocks.

Blocks

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