9

Lesson 9 of 20 ยท Steps in Order

Steps in Order โ€” Part 17

Do things step by step. This is part 17 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!

Steps in Order โ€” Part 17 โ€” Steps in Order | Pre-School Coding | LittleActivity | LittleActivity