12

Lesson 12 of 20 ยท Sort and Match

Sort and Match โ€” Part 2

Group things that go together. This is part 2 of 20.

What you'll learn

By the end of this lesson you will run code that does steps in order and see how changing the order changes what happens.

Steps

  1. 1Run the code. See the steps in order.
  2. 2Change "Step 2" to your own message. Run again.
  3. 3Add a fourth print line. Run.
  4. 4Put the lines in a different order and run. Does it still make sense?

Key Terms

Sequence
A list of steps that happen one after another in order.
Order
The sequence in which steps run. Changing the order can change the result.
Run
To run code means to tell the computer to execute your instructions.
Python 3
Output
Loading Python... This may take a few seconds.

Your code runs only in your browser. No code is sent to any server. Stay safe and have fun learning!

Sort and Match โ€” Part 2 โ€” Sort and Match | Pre-School Coding | LittleActivity | LittleActivity