Dr Mark S. Brown

PhD MRes MPhys

Independent Private Education since 2014

University degrees from Manchester, Cambridge & UCL

Mathematics, Physics, Computer Science & Programming

Recent Articles

Using Decorators in Python

Posted on 04-02-19 in Computing • Tagged with python

What decorators are and how they can be used in Python are discussed in this article

Continue reading

Input and Output Exercises

Posted on 27-01-19 in Exercises • Tagged with python, teaching

In this article I list exercises to complete for basic input and output with python.

Continue reading

Short Exercises using simple Python Syntax

Posted on 28-02-18 in Exercises • Tagged with python, exercises, teaching

Here are some short exercises to apply knowledge of basic Python

Continue reading

Fixing some examples of broken code

Posted on 27-02-18 in Exercises • Tagged with python, exercises, teaching

Some examples of broken code are shown to the reader and they should endeavour to fix them.

Continue reading

What to do when you're stuck

Posted on 24-02-18 in Computing • Tagged with python, programming

In this article I outline what to do if you get stuck with the exercises.

Continue reading

Going in spirals with Turtle - Writing good code

Posted on 14-02-18 in Computing • Tagged with python, random, turtle, animation

Using the Python Turtle library we draw spirals with ever increasing complexity. The aim is to see examples of good and bad code.

Continue reading

Fancy Printing With Python

Posted on 10-11-17 in Computing • Tagged with python, output, print

Printing with the new format argument is an incredibly useful technique. In this article I will present a few use cases.

Continue reading

Asking for Validated Input

Posted on 08-11-17 in Computing • Tagged with python, gcse, coding

In this post I will describe one way to ask the user for input and reject invalid input

Continue reading