Python help

Code Novice level help


Common Syntax Errors (the code does not run due to typo's and grammar mistakes)

Common Syntax Errors

Python Practice

Common example Python code to help with coding tasks

Code Ninja level help

Code Master level help

Master level (GCSE) Programming skills:

  • the use of variables, constants, operators, inputs, outputs and assignments
  • the use of the three basic programming constructs used to control the flow of a program: sequence, selection, iteration
  • the use of basic string manipulation
  • the user of basic file handling operations: open, read, write, close
  • the use of records to store data
  • the use of SQL to search for data
  • the use of arrays when solving problems including both 1D and 2D arrays
  • how to use sub-routines to produce structured code
  • the use of data types: integer, real, Boolean, character and string, casting
  • the common arithmetic operators (+, -, /, *, MOD, DIV)
  • the common Boolean operators (NOT, AND, OR)

Creating robust programs by:

  • defensive design considerations: input sanitisation and validation, planning for contingencies, anticipating misuse, authentication
  • maintainability: comments, indentation
  • knowing the importance and purpose of testing
  • the types of testing: iterative, final/terminal
  • how to identify syntax and logic errors
  • selecting and using suitable test data
  • testing for logic errors through the use of truth tables

Knowledge of languages and coding tools:

  • characteristics and purpose of different levels of programming language, including low level languages
  • the purpose of translators
  • the characteristics of an assembler, a compiler and an interpreter
  • common tools and facilities available in an integrated development environment: editors, error diagnostics, run-time environment, translators


CLICK HERE for the online tutorial for coding Python on your MicroBit