This activity is designed to help you learn how to use python to write a program that uses and stores data in variables.

Use variables and constants with sensible names

Python naming conventions: Use variables and constants with sensible names

So far we’ve looked at input, output and variables along with a healthy dollop of debugging.

The next step is to learn some rules that help us keep our code easy to read, debug and share so that others can understand it too.

Contents:

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.