Results for “quotes”

Showing 1–10 of 48

  1. Challenge

    Broken boot script

    The flight computer won't boot: a quote and a bracket are missing. Read the SyntaxError, find the broken line and fix it. A beginner Python debugging challenge.

    Fix the code Easy 3 stages SyntaxError debugging print quotes
  2. Challenge

    What arrived?

    …only looks like a number, and one value says "False" in quotes. Before the flight computer can calculate anything, it has to know what it actually got. type() tells you. Predict what it shows…

    Write the code Easy 3 stages type() data types type conversion sensor data
  3. Challenge

    Catch what you expect

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Medium 3 stages errors try except ValueError
  4. Challenge

    Launch counter crash

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Medium 3 stages functions scope UnboundLocalError global
  5. Challenge

    Shadowed fuel

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Medium 3 stages functions scope local variables global variables
  6. Challenge

    Shared default list

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Medium 3 stages functions default values mutable defaults None
  7. Challenge

    Changed the caller's list

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Medium 3 stages functions lists mutation return
  8. Challenge

    Prints instead of returns

    …Write your guess in prediction , at the top, between the quotes. Then run it and compare. Any guess passes this stage: the point is to think before you run. After you check, you'll see your prediction…

    Fix the code Easy 3 stages functions return print None