Debugging means finding and fixing errors (bugs) in your code.
Below is some code that has been deliberately broken so that you can find and fix some common mistakes when writing code that outputs text.
This code should output the following:
Three Two One Blast Off!
Hints: Check the brackets and quotation marks.
Your code won’t run at all until you’ve fixed all of the errors: You need to fix all the lines of code even before the first line will run.
Python is case sensitive: be careful with CAPITAL LETTERS and lowercase letters.
On the next page you’ll get some ideas for how to write your own projects that output text to the screen.
Page 1: Intro
Page 2: The theory: learn what you need to know as fast as possible.
Page 3: Try it: try out and adapt some working python code snippets.
Page 4: Debug it: Learn how to find and fix common mistakes.
Page 5: Extend it: Choose a project idea to use your newfound python skills.