© 2004-20


Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be very readable.
It uses English keywords frequently whereas other languages use punctuation.
It has fewer syntactical constructs than other languages and it makes use of indentation to mark the beginning and end of program blocks which can sometimes be less obvious to a beginner.

Here are some tips for getting started with Python:

  • A Python identifier is a name used to identify a variable, function, class, module or other object.
  • Identifiers start with an alphabetic letter (upper or lowercase) or an underscore (_) followed by zero or more letters, underscores and digits (0 to 9).
  • Python does not allow punctuation characters such as @, $, and % within identifiers.
  • Python is a case sensitive programming language.
    For example VarName and varname are two different identifiers.
How To... with Python

Use the following presentations to help develop your understanding of how to use Python

Title Description
Using the Turtle Creating simple graphics programs with the turtle
Calculator Create a basic program to mimic a calculator (add, subtract, multiply and divide)
Variables Naming and using variables
Arithmetic Correct use of symbols and other arithmetic operations
Selection Making choices and using relational operators
Iteration - Condition Controlled How to use while loops
Iteration - Count Controlled How to use for loops
Lists How to use lists
Strings Setting up and using strings
Maintainable Code How to use comments and other techniques to improve code readability
Lists and Loops Using and accessing Lists with Loops
BMI Calculator Accepting a users height and weight and calculating the BMI and degree of obesity