Results for “step”

Showing 1–10 of 27

  1. Challenge

    Countdown with holds

    …-1, -1) counts down to 0: the third number is the step, and the stop, -1, is one past the last number, as always. second in holds checks the list. Scrub or liftoff Add scrub_at = None under holds…

    Write the code Easy 2 stages for loop range negative step in
  2. Article Python Fundamentals

    A Practical Guide to Getting Started with Programming

    …a recipe - you're telling the computer exactly what to do, step by step (it's a really simplified explanation, but I'm sure you get what I mean). With Python, you write these instructions using…

  3. Challenge

    Progress on one line

    …" : it then ends with a space instead of a new line. Three steps The full upload has three steps, and each prints its result when it finishes. Put every step and its result on one line: Uploading…

    Write the code Easy 3 stages print end progress console
  4. Challenge

    Running totals

    …variable up to date instead of creating a new one for each step. Predict how -= and += change a value, follow the fuel through a whole sequence, then track a battery yourself. Predict and run Don't…

    Write the code Easy 3 stages variables -= += updating values