Debug it

Comments in Python
Comments in python: make code easier to read and maintain

Below is come code that should all be commented out

Press Ctrl + Enter  to run the code.

Challenges:

Make each line a comment by adding a # at the start.

On the next page you’ll need to write your own comments to plan out how to draw an alien

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.