Skip to main content

Lesson 4.5: Coding Challenge: Data Report

Build a program that stores a list and produces at least three output lines without an interpreter error.

Use a function to handle one clear part of the report. You may pass each list item into the function, or return a result that the main program prints. Use a loop so the report works when an item is changed.

Test the first item, last item, and full list. Check each index and trace every function call before recording the unit.

Loading the block workspace...

Stuck on this lesson?

Ask about anything on this page. It can see which lesson you have open and which part you are reading.