18: Parameters in python

Functions and procedures are both examples of sub programs. They both allow you to re-use code to make your programs more efficient and easier to read.

Parameters allow you to customise how procedures or functions work to make them even more powerful and flexible.

This tutorial guides you through what a parameter is and how to use them effectively in your own programs.

Parameters in python: Adapt and reuse sections of your code

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.

17: Functions in python

Functions are just like procedures but with one key difference that makes them even more useful.

This tutorial guides you through what a function is, how to use them and how and when you should define your own functions.

Reuse sections of your code
Functions in python: Reuse sections of your code

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.

16: Procedures in python

Making and using your own procedures in python is a great way to make your code more efficient, more readable and more re-usable.

This tutorial guides you through what a procedure is, how to use them and how and when you should define your own procedures.

Reuse sections of your code
Procedures in python: Reuse sections of your code

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.